User: add some banned usernames from a long-ago comment by @kevinburke
This commit is contained in:
parent
cb850bd9e6
commit
26f17ae928
|
@ -54,7 +54,7 @@ class User < ActiveRecord::Base
|
||||||
|
|
||||||
BANNED_USERNAMES = [ "admin", "administrator", "hostmaster", "mailer-daemon",
|
BANNED_USERNAMES = [ "admin", "administrator", "hostmaster", "mailer-daemon",
|
||||||
"postmaster", "root", "security", "support", "webmaster", "moderator",
|
"postmaster", "root", "security", "support", "webmaster", "moderator",
|
||||||
"moderators", ]
|
"moderators", "help", "contact", "fraud", ]
|
||||||
|
|
||||||
# days old accounts are considered new for
|
# days old accounts are considered new for
|
||||||
NEW_USER_DAYS = 7
|
NEW_USER_DAYS = 7
|
||||||
|
|
Loading…
Reference in a new issue