Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
a509b34524
|
@ -2,7 +2,7 @@ class ScreenNameValidator < ActiveModel::EachValidator
|
|||
FORBIDDEN_SCREEN_NAMES = %w(justask_admin retrospring_admin admin justask retrospring about public
|
||||
notifications inbox sign_in sign_up sidekiq moderation moderator mod administrator
|
||||
siteadmin site_admin help retro_spring retroospring retrosprlng niisding nllsding
|
||||
group settings)
|
||||
group settings search pixeidesu plxeldesu plxeidesu)
|
||||
|
||||
def validate_each(record, attribute, value)
|
||||
if FORBIDDEN_SCREEN_NAMES.include? value.downcase
|
||||
|
|
Loading…
Reference in New Issue