lib/rodauth/features/verify_account.rb in rodauth-1.22.0 vs lib/rodauth/features/verify_account.rb in rodauth-1.23.0
- old
+ new
@@ -199,11 +199,11 @@
def account_initial_status_value
account_unverified_status_value
end
def send_verify_account_email
- create_verify_account_email.deliver!
+ send_email(create_verify_account_email)
end
def verify_account_email_link
token_link(verify_account_route, verify_account_key_param, verify_account_key_value)
end
@@ -223,10 +223,10 @@
def login_form_footer
super + verify_account_resend_link
end
def verify_account_resend_link
- "<p><a href=\"#{prefix}/#{verify_account_resend_route}\">Resend Verify Account Information</a></p>"
+ "<p><a href=\"#{verify_account_resend_path}\">Resend Verify Account Information</a></p>"
end
def create_account_set_password?
return false if verify_account_set_password?
super