From 69099a2732b749b4e370e16523152068e15cbd6f Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sat, 27 Jan 2018 14:16:52 -0800 Subject: registration testing --- Zotlabs/Module/Email_resend.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Module/Email_resend.php b/Zotlabs/Module/Email_resend.php index 8c0fbad2f..921d2819a 100644 --- a/Zotlabs/Module/Email_resend.php +++ b/Zotlabs/Module/Email_resend.php @@ -7,8 +7,6 @@ class Email_resend extends \Zotlabs\Web\Controller { function post() { - - if($_POST['token']) { if(! account_approve(trim($_POST['token']))) { notice('Token verification failed.'); @@ -35,7 +33,7 @@ class Email_resend extends \Zotlabs\Web\Controller { notice(t('Unable to resend email verification message.')); } - return; + goaway(z_root() . '/email_validation/' . bin2hex($email)); } -- cgit v1.2.3