mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Remove deprecated Devise::Models::Recoverable#after_password_reset
method.
This commit is contained in:
parent
71f90c0d6e
commit
201a4f92c2
1 changed files with 0 additions and 5 deletions
|
@ -40,11 +40,6 @@ module Devise
|
|||
self.password = new_password
|
||||
self.password_confirmation = new_password_confirmation
|
||||
|
||||
if respond_to?(:after_password_reset) && valid?
|
||||
ActiveSupport::Deprecation.warn "after_password_reset is deprecated"
|
||||
after_password_reset
|
||||
end
|
||||
|
||||
save
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue