aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Email_resend.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Email_resend.php')
-rw-r--r--Zotlabs/Module/Email_resend.php4
1 files changed, 1 insertions, 3 deletions
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));
}