Index: openacs-4/packages/ecommerce/www/register/awaiting-email-verification.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/register/Attic/awaiting-email-verification.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/ecommerce/www/register/awaiting-email-verification.tcl 10 Sep 2002 22:22:51 -0000 1.3 +++ openacs-4/packages/ecommerce/www/register/awaiting-email-verification.tcl 18 Sep 2002 21:33:58 -0000 1.4 @@ -17,7 +17,7 @@ ns_log Notice "Couldn't find $user_id in /register/awaiting-email-verification.tcl" ad_return_error "Couldn't find your record" "User id $user_id is not found in the need email verification state." - return + ad_script_abort } @@ -31,10 +31,10 @@ if {$member_state == "approved"} { # we don't require administration approval to get to get authorized ad_returnredirect "index.tcl?[export_url_vars email]" - return + ad_script_abort } else { ad_returnredirect "awaiting-approval.tcl?[export_url_vars user_id]" - return + ad_script_abort } } @@ -43,6 +43,7 @@ # we are waiting for the user to verify their email ad_return_template +# continue here! # the user has to come back and activate their account ns_sendmail "$email" "[ad_parameter NewRegistrationEmailAddress "security"]" "Welcome to [ad_system_name]" "To confirm your registration, please go to [ad_url]/register/email-confirm.tcl?[export_url_vars rowid]"