diff options
author | zotlabs <mike@macgirvin.com> | 2018-01-27 12:51:48 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-01-27 12:51:48 -0800 |
commit | bd0f63980ba0d0e606f2dd7a65313f7e150d330a (patch) | |
tree | 84ae4193d37d9182f4a90ff8be038e922e6ecf28 /Zotlabs/Module/Register.php | |
parent | 4eead1c688f57bdf04091675fa38c5eed9f6acde (diff) | |
download | volse-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.php | 6 |
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; |