diff options
author | Mario <mario@mariovavti.com> | 2021-05-07 10:03:12 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-05-07 10:03:12 +0000 |
commit | b5ce20734445f03d070e8b6faf1ed73950f62c81 (patch) | |
tree | ff477c62d5e27feac959ab7c4917441d4995f2e4 /Zotlabs/Module/Regate.php | |
parent | d04ff264fabb2f78e98b2e486909c768d30643d5 (diff) | |
download | volse-hubzilla-b5ce20734445f03d070e8b6faf1ed73950f62c81.tar.gz volse-hubzilla-b5ce20734445f03d070e8b6faf1ed73950f62c81.tar.bz2 volse-hubzilla-b5ce20734445f03d070e8b6faf1ed73950f62c81.zip |
register: implement remove_expired_registrations() and minor fixes
Diffstat (limited to 'Zotlabs/Module/Regate.php')
-rw-r--r-- | Zotlabs/Module/Regate.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Module/Regate.php b/Zotlabs/Module/Regate.php index b5f7f0958..379195461 100644 --- a/Zotlabs/Module/Regate.php +++ b/Zotlabs/Module/Regate.php @@ -102,9 +102,10 @@ class Regate extends \Zotlabs\Web\Controller { if (($flags & ACCOUNT_UNVERIFIED) == ACCOUNT_UNVERIFIED) { // verification success - $msg = 'ZAR1237I' . ' ' . t('Verify successfull'); + $msg_code = 'ZAR1237I'; + $msg = t('Verification successful'); $reonar = json_decode( $r['reg_stuff'], true); - $reonar['valid'] = $now . ',' . $ip . ' ' . $did2 . ' ' . $msg; + $reonar['valid'] = $now . ',' . $ip . ' ' . $did2 . ' ' . $msg_code . ' ' . $msg; // clear flag $flags &= $flags ^ ACCOUNT_UNVERIFIED; |