1
0
Fork 0
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:
Lucas Mazza 2016-05-03 18:30:49 -03:00
parent 71f90c0d6e
commit 201a4f92c2
No known key found for this signature in database
GPG key ID: C009F9A6BE4A44CB

View file

@ -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