registration testing

This commit is contained in:
zotlabs 2018-01-27 14:16:52 -08:00
parent d99a51e5b7
commit 69099a2732
3 changed files with 23 additions and 5 deletions

View file

@ -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));
}

View file

@ -10,7 +10,12 @@ Login with the password you chose at registration.
We need to verify your email address in order to give you full access.
If you registered this account, please visit the following link:
Your validation code is
{{$hash}}
If you registered this account, please enter the validation code when requested or visit the following link:
{{$siteurl}}/regver/allow/{{$hash}}
@ -23,3 +28,8 @@ To deny the request and remove the account, please visit:
Thank you.
--
Terms Of Service:
{{$siteurl}}/help/TermsOfService

View file

@ -10,7 +10,12 @@ Login with the password you chose at registration.
We need to verify your email address in order to give you full access.
If you registered this account, please visit the following link:
Your validation code is
{{$hash}}
If you registered this account, please enter the validation code when requested or visit the following link:
{{$siteurl}}/regver/allow/{{$hash}}
@ -23,3 +28,8 @@ To deny the request and remove the account, please visit:
Thank you.
--
Terms Of Service:
{{$siteurl}}/help/TermsOfService