mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Adding back admin unit test
This commit is contained in:
@@ -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},
|
||||
}
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@ func IsValidEmail(email string) bool {
|
||||
var reservedName = []string{
|
||||
"www",
|
||||
"web",
|
||||
//"admin",
|
||||
"admin",
|
||||
"support",
|
||||
"notify",
|
||||
"test",
|
||||
|
||||
Reference in New Issue
Block a user