chore(controller): remove polluting log
This commit is contained in:
parent
3de7288014
commit
36b57b8f21
|
|
@ -243,7 +243,6 @@ func adminUserExists(users []map[string]interface{}, supportEmail string) bool {
|
||||||
|
|
||||||
for _, x := range users {
|
for _, x := range users {
|
||||||
if db.UserLevels(x["level"].(int32)) == db.AdminUser && x["email"].(string) != supportEmail {
|
if db.UserLevels(x["level"].(int32)) == db.AdminUser && x["email"].(string) != supportEmail {
|
||||||
log.Println("Admin exists")
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user