aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Register.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-01-27 12:51:48 -0800
committerzotlabs <mike@macgirvin.com>2018-01-27 12:51:48 -0800
commitbd0f63980ba0d0e606f2dd7a65313f7e150d330a (patch)
tree84ae4193d37d9182f4a90ff8be038e922e6ecf28 /Zotlabs/Module/Register.php
parent4eead1c688f57bdf04091675fa38c5eed9f6acde (diff)
downloadvolse-hubzilla-bd0f63980ba0d0e606f2dd7a65313f7e150d330a.tar.gz
volse-hubzilla-bd0f63980ba0d0e606f2dd7a65313f7e150d330a.tar.bz2
volse-hubzilla-bd0f63980ba0d0e606f2dd7a65313f7e150d330a.zip
Usability improvements to registration/verification workflow. This requires additional testing.
Diffstat (limited to 'Zotlabs/Module/Register.php')
-rw-r--r--Zotlabs/Module/Register.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/Zotlabs/Module/Register.php b/Zotlabs/Module/Register.php
index 1cb3bab91..c7fa1cee8 100644
--- a/Zotlabs/Module/Register.php
+++ b/Zotlabs/Module/Register.php
@@ -150,9 +150,11 @@ class Register extends \Zotlabs\Web\Controller {
}
if($email_verify) {
- goaway(z_root());
+ goaway(z_root() . '/email_validation/' . bin2hex($result['email']));
}
-
+
+ // fall through and authenticate if no approvals or verifications were required.
+
authenticate_success($result['account'],null,true,false,true);
$new_channel = false;