mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 08:44:40 +08:00
rename forgot_password_strict to hide_email_address_taken
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user