Patch away a deprecation warning caused by Devise
This commit is contained in:
parent
c9052b35f6
commit
22ffcd54db
@ -325,3 +325,10 @@ Devise.setup do |config|
|
|||||||
# changed. Defaults to true, so a user is signed in automatically after changing a password.
|
# changed. Defaults to true, so a user is signed in automatically after changing a password.
|
||||||
# config.sign_in_after_change_password = true
|
# config.sign_in_after_change_password = true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# https://github.com/heartcombo/devise/issues/5644
|
||||||
|
class Devise::SecretKeyFinder
|
||||||
|
def find
|
||||||
|
@application.secret_key_base
|
||||||
|
end
|
||||||
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user