registration testing
This commit is contained in:
parent
d99a51e5b7
commit
69099a2732
@ -7,8 +7,6 @@ class Email_resend extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
function post() {
|
function post() {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if($_POST['token']) {
|
if($_POST['token']) {
|
||||||
if(! account_approve(trim($_POST['token']))) {
|
if(! account_approve(trim($_POST['token']))) {
|
||||||
notice('Token verification failed.');
|
notice('Token verification failed.');
|
||||||
@ -35,7 +33,7 @@ class Email_resend extends \Zotlabs\Web\Controller {
|
|||||||
notice(t('Unable to resend email verification message.'));
|
notice(t('Unable to resend email verification message.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
goaway(z_root() . '/email_validation/' . bin2hex($email));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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.
|
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}}
|
{{$siteurl}}/regver/allow/{{$hash}}
|
||||||
|
|
||||||
@ -23,3 +28,8 @@ To deny the request and remove the account, please visit:
|
|||||||
|
|
||||||
Thank you.
|
Thank you.
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
Terms Of Service:
|
||||||
|
{{$siteurl}}/help/TermsOfService
|
||||||
|
|
||||||
|
@ -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.
|
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}}
|
{{$siteurl}}/regver/allow/{{$hash}}
|
||||||
|
|
||||||
@ -23,3 +28,8 @@ To deny the request and remove the account, please visit:
|
|||||||
|
|
||||||
Thank you.
|
Thank you.
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
Terms Of Service:
|
||||||
|
{{$siteurl}}/help/TermsOfService
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user