diff --git a/model/team_test.go b/model/team_test.go index 82480633f8..0dec075595 100644 --- a/model/team_test.go +++ b/model/team_test.go @@ -106,8 +106,8 @@ var tReservedDomains = []struct { }{ {"test-hello", true}, {"test", true}, - //{"admin", true}, - //{"Admin-punch", true}, + {"admin", true}, + {"Admin-punch", true}, {"spin-punch-admin", false}, } diff --git a/model/utils.go b/model/utils.go index d12a6104ef..17d1c6317e 100644 --- a/model/utils.go +++ b/model/utils.go @@ -151,7 +151,7 @@ func IsValidEmail(email string) bool { var reservedName = []string{ "www", "web", - //"admin", + "admin", "support", "notify", "test",