lib/rodauth/features/verify_account.rb in rodauth-2.5.0 vs lib/rodauth/features/verify_account.rb in rodauth-2.6.0

- old
+ new

@@ -243,10 +243,16 @@ convert_timestamp(ts) end end end + def setup_account_verification + generate_verify_account_key_value + create_verify_account_key + send_verify_account_email + end + 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?) @@ -272,15 +278,9 @@ end def after_create_account setup_account_verification super - end - - def setup_account_verification - generate_verify_account_key_value - create_verify_account_key - send_verify_account_email end def verify_account_check_already_logged_in check_already_logged_in end