User: add some banned usernames from a long-ago comment by @kevinburke

This commit is contained in:
joshua stein 2015-03-19 12:10:18 -05:00
parent cb850bd9e6
commit 26f17ae928

View file

@ -54,7 +54,7 @@ class User < ActiveRecord::Base
BANNED_USERNAMES = [ "admin", "administrator", "hostmaster", "mailer-daemon",
"postmaster", "root", "security", "support", "webmaster", "moderator",
"moderators", ]
"moderators", "help", "contact", "fraud", ]
# days old accounts are considered new for
NEW_USER_DAYS = 7