rename forgot_password_strict to hide_email_address_taken

This commit is contained in:
Neil Lalonde
2017-10-03 15:28:15 -04:00
parent e47f5cedd2
commit 1faae3c765
24 changed files with 35 additions and 26 deletions

View File

@ -0,0 +1,9 @@
class RenameForgotPasswordStrictSetting < ActiveRecord::Migration[5.1]
def up
execute "UPDATE site_settings SET name = 'hide_email_address_taken' WHERE name = 'forgot_password_strict'"
end
def down
execute "UPDATE site_settings SET name = 'forgot_password_strict' WHERE name = 'hide_email_address_taken'"
end
end