app/models/user.rb in spree_auth-0.70.3 vs app/models/user.rb in spree_auth-0.70.4
- old
+ new
@@ -37,10 +37,10 @@
def anonymous?
email =~ /@example.net$/
end
def send_reset_password_instructions
- reset_perishable_token!
+ generate_reset_password_token!
UserMailer.reset_password_instructions(self).deliver
end
protected
def password_required?