Upgraded to Rails 7.0.4.2
This commit is contained in:
@@ -308,4 +308,7 @@ Devise.setup do |config|
|
||||
# When set to false, does not sign a user in automatically after their password is
|
||||
# changed. Defaults to true, so a user is signed in automatically after changing a password.
|
||||
# config.sign_in_after_change_password = true
|
||||
|
||||
config.responder.error_status = :unprocessable_entity
|
||||
config.responder.redirect_status = :see_other
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user