lib/rodauth/features/verify_account.rb in rodauth-2.36.0 vs lib/rodauth/features/verify_account.rb in rodauth-2.37.0
- old
+ new
@@ -69,11 +69,11 @@
r.get do
resend_verify_account_view
end
r.post do
- if account_from_login(param(login_param)) && allow_resending_verify_account_email?
+ if account_from_login(login_param_value) && allow_resending_verify_account_email?
if verify_account_email_recently_sent?
set_redirect_error_flash verify_account_email_recently_sent_error_flash
redirect verify_account_email_recently_sent_redirect
end
@@ -242,10 +242,10 @@
private
def _login_form_footer_links
links = super
- if !param_or_nil(login_param) || ((account || account_from_login(param(login_param))) && allow_resending_verify_account_email?)
+ if !param_or_nil(login_param) || ((account || account_from_login(login_param_value)) && allow_resending_verify_account_email?)
links << [30, verify_account_resend_path, verify_account_resend_link_text]
end
links
end