aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Regmod.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-03-17 21:52:56 +0100
committerMario Vavti <mario@mariovavti.com>2018-03-17 21:52:56 +0100
commit0009f7f05133a74bbe3206a5b4d0223ba9dea4bc (patch)
tree5f257032110ad0488468ce165c1eea8e4b90936a /Zotlabs/Module/Regmod.php
parentb5cc26fe76cb43727a1e42755e1d89bbc48e0f8a (diff)
downloadvolse-hubzilla-0009f7f05133a74bbe3206a5b4d0223ba9dea4bc.tar.gz
volse-hubzilla-0009f7f05133a74bbe3206a5b4d0223ba9dea4bc.tar.bz2
volse-hubzilla-0009f7f05133a74bbe3206a5b4d0223ba9dea4bc.zip
do not include pending registrations in accounts and goaway to /admin/accounts after approval or denial of an pending registration
Diffstat (limited to 'Zotlabs/Module/Regmod.php')
-rw-r--r--Zotlabs/Module/Regmod.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Module/Regmod.php b/Zotlabs/Module/Regmod.php
index c7e5c44aa..70635d707 100644
--- a/Zotlabs/Module/Regmod.php
+++ b/Zotlabs/Module/Regmod.php
@@ -35,6 +35,8 @@ class Regmod extends \Zotlabs\Web\Controller {
if($cmd === 'allow') {
if (! account_allow($hash)) killme();
}
+
+ goaway('/admin/accounts');
}
}