lib/rodauth/features/reset_password.rb in rodauth-1.22.0 vs lib/rodauth/features/reset_password.rb in rodauth-1.23.0

- old
+ new

@@ -177,11 +177,11 @@ def account_from_reset_password_key(key) @account = _account_from_reset_password_key(key) end def send_reset_password_email - create_reset_password_email.deliver! + send_email(create_reset_password_email) end def reset_password_email_link token_link(reset_password_route, reset_password_key_param, reset_password_key_value) end @@ -195,10 +195,10 @@ def login_form_footer super + reset_password_request_link end def reset_password_request_link - "<p><a href=\"#{prefix}/#{reset_password_request_route}\">Forgot Password?</a></p>" + "<p><a href=\"#{reset_password_request_path}\">Forgot Password?</a></p>" end def set_reset_password_email_last_sent password_reset_ds.update(reset_password_email_last_sent_column=>Sequel::CURRENT_TIMESTAMP) if reset_password_email_last_sent_column end