aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-01-27 14:16:52 -0800
committerzotlabs <mike@macgirvin.com>2018-01-27 14:16:52 -0800
commit69099a2732b749b4e370e16523152068e15cbd6f (patch)
tree1633d85025ccb79ede1583a11ead06d02365191a
parentd99a51e5b7748115bab218db31b9675fb31b1de8 (diff)
downloadvolse-hubzilla-69099a2732b749b4e370e16523152068e15cbd6f.tar.gz
volse-hubzilla-69099a2732b749b4e370e16523152068e15cbd6f.tar.bz2
volse-hubzilla-69099a2732b749b4e370e16523152068e15cbd6f.zip
registration testing
-rw-r--r--Zotlabs/Module/Email_resend.php4
-rw-r--r--view/en-au/register_verify_member.tpl12
-rw-r--r--view/en-gb/register_verify_member.tpl12
3 files changed, 23 insertions, 5 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));
}
diff --git a/view/en-au/register_verify_member.tpl b/view/en-au/register_verify_member.tpl
index d1e34be67..9bdd7fa51 100644
--- a/view/en-au/register_verify_member.tpl
+++ b/view/en-au/register_verify_member.tpl
@@ -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
+
diff --git a/view/en-gb/register_verify_member.tpl b/view/en-gb/register_verify_member.tpl
index d1e34be67..9bdd7fa51 100644
--- a/view/en-gb/register_verify_member.tpl
+++ b/view/en-gb/register_verify_member.tpl
@@ -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
+