diff options
author | =Corey Hulen <corey@hulen.com> | 2015-09-10 15:05:19 -0700 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-09-10 15:05:19 -0700 |
commit | 616593f434ef65e019edff6e766e959147f35b32 (patch) | |
tree | 31f1a0b2cb9c6bc9479f5198893715336761ec58 /model | |
parent | 8bf35081c80a56051037d0bc374e9fec3fb9529e (diff) | |
download | chat-616593f434ef65e019edff6e766e959147f35b32.tar.gz chat-616593f434ef65e019edff6e766e959147f35b32.tar.bz2 chat-616593f434ef65e019edff6e766e959147f35b32.zip |
Adding back admin unit test
Diffstat (limited to 'model')
-rw-r--r-- | model/team_test.go | 4 | ||||
-rw-r--r-- | model/utils.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/model/team_test.go b/model/team_test.go index 82480633f..0dec07559 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 d12a6104e..17d1c6317 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", |