do not include pending registrations in accounts and goaway to /admin/accounts after approval or denial of an pending registration

This commit is contained in:
Mario Vavti
2018-03-17 21:52:56 +01:00
parent b5cc26fe76
commit 0009f7f051
2 changed files with 6 additions and 3 deletions

View File

@@ -35,6 +35,8 @@ class Regmod extends \Zotlabs\Web\Controller {
if($cmd === 'allow') {
if (! account_allow($hash)) killme();
}
goaway('/admin/accounts');
}
}