aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-05-07 10:03:12 +0000
committerMario <mario@mariovavti.com>2021-05-07 10:03:12 +0000
commitb5ce20734445f03d070e8b6faf1ed73950f62c81 (patch)
treeff477c62d5e27feac959ab7c4917441d4995f2e4 /Zotlabs/Module
parentd04ff264fabb2f78e98b2e486909c768d30643d5 (diff)
downloadvolse-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')
-rw-r--r--Zotlabs/Module/Admin/Channels.php2
-rw-r--r--Zotlabs/Module/Regate.php5
2 files changed, 4 insertions, 3 deletions
diff --git a/Zotlabs/Module/Admin/Channels.php b/Zotlabs/Module/Admin/Channels.php
index e0f26112d..09769a166 100644
--- a/Zotlabs/Module/Admin/Channels.php
+++ b/Zotlabs/Module/Admin/Channels.php
@@ -173,4 +173,4 @@ class Channels {
return $o;
}
-} \ No newline at end of file
+}
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;