Upgrade Devise to 4.9.0
This commit is contained in:
parent
6f59abe9dd
commit
06ecdd9e51
|
@ -117,7 +117,7 @@ GEM
|
||||||
database_cleaner-core (2.0.1)
|
database_cleaner-core (2.0.1)
|
||||||
date (3.3.3)
|
date (3.3.3)
|
||||||
debug_inspector (1.1.0)
|
debug_inspector (1.1.0)
|
||||||
devise (4.8.1)
|
devise (4.9.0)
|
||||||
bcrypt (~> 3.0)
|
bcrypt (~> 3.0)
|
||||||
orm_adapter (~> 0.1)
|
orm_adapter (~> 0.1)
|
||||||
railties (>= 4.1.0)
|
railties (>= 4.1.0)
|
||||||
|
|
|
@ -253,4 +253,19 @@ Devise.setup do |config|
|
||||||
# When using omniauth, Devise cannot automatically set Omniauth path,
|
# When using omniauth, Devise cannot automatically set Omniauth path,
|
||||||
# so you need to do it manually. For the users scope, it would be:
|
# so you need to do it manually. For the users scope, it would be:
|
||||||
# config.omniauth_path_prefix = '/my_engine/users/auth'
|
# config.omniauth_path_prefix = '/my_engine/users/auth'
|
||||||
|
|
||||||
|
# ==> Hotwire/Turbo configuration
|
||||||
|
# When using Devise with Hotwire/Turbo, the http status for error responses
|
||||||
|
# and some redirects must match the following. The default in Devise for existing
|
||||||
|
# apps is `200 OK` and `302 Found respectively`, but new apps are generated with
|
||||||
|
# these new defaults that match Hotwire/Turbo behavior.
|
||||||
|
# Note: These might become the new default in future versions of Devise.
|
||||||
|
config.responder.error_status = :unprocessable_entity
|
||||||
|
config.responder.redirect_status = :see_other
|
||||||
|
|
||||||
|
# ==> Configuration for :registerable
|
||||||
|
|
||||||
|
# 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
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue