lib/rodauth/features/reset_password.rb in rodauth-2.36.0 vs lib/rodauth/features/reset_password.rb in rodauth-2.37.0
- old
+ new
@@ -67,10 +67,10 @@
reset_password_request_view
end
r.post do
catch_error do
- unless account_from_login(param(login_param))
+ unless account_from_login(login_param_value)
throw_error_reason(:no_matching_login, no_matching_login_error_status, login_param, no_matching_login_message)
end
unless open_account?
throw_error_reason(:unverified_account, unopen_account_error_status, login_param, unverified_account_message)