diff --git a/app/validators/screen_name_validator.rb b/app/validators/screen_name_validator.rb index e0158662..b8279de2 100644 --- a/app/validators/screen_name_validator.rb +++ b/app/validators/screen_name_validator.rb @@ -1,7 +1,8 @@ class ScreenNameValidator < ActiveModel::EachValidator FORBIDDEN_SCREEN_NAMES = %w(justask_admin retrospring_admin admin justask retrospring support about public notifications inbox sign_in sign_up sidekiq moderation moderator mod administrator - siteadmin site_admin help retro_spring retroospring retrosprlng niisding nllsding) + siteadmin site_admin help retro_spring retroospring retrosprlng niisding nllsding + pixeidesu terms privacy help) def validate_each(record, attribute, value) if FORBIDDEN_SCREEN_NAMES.include? value.downcase