aboutsummaryrefslogtreecommitdiffstats
path: root/mod/regmod.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-01-12 15:43:08 -0800
committerredmatrix <git@macgirvin.com>2016-01-12 15:43:08 -0800
commitbaedd253090e1129dfea8284ee6dc29649286b3b (patch)
treeea24903d359fe8f7c7730fcc874d2764f84d45e8 /mod/regmod.php
parentbbc1a1f1fb925fc804585118364297acb5c8fa1f (diff)
downloadvolse-hubzilla-baedd253090e1129dfea8284ee6dc29649286b3b.tar.gz
volse-hubzilla-baedd253090e1129dfea8284ee6dc29649286b3b.tar.bz2
volse-hubzilla-baedd253090e1129dfea8284ee6dc29649286b3b.zip
'auto channel creation' - if the corresponding config variable is set, create a channel when an account is created.
Plugins can provide the necessary channel details (probably from an extended registration form). If no details are provided, a social (mostly public) channel will be created using the LHS of the email address and you will be directed to your channel page (unless email verification is required, in which case this step will be delayed until successful validation and login). If the reddress is already assigned a random name(1000-9999) reddress will be assigned.
Diffstat (limited to 'mod/regmod.php')
-rw-r--r--mod/regmod.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/regmod.php b/mod/regmod.php
index c0a75ef48..a1d300e56 100644
--- a/mod/regmod.php
+++ b/mod/regmod.php
@@ -25,10 +25,10 @@ function regmod_content(&$a) {
$hash = argv(2);
if($cmd === 'deny') {
- if (!user_deny($hash)) killme();
+ if (! account_deny($hash)) killme();
}
if($cmd === 'allow') {
- if (!user_allow($hash)) killme();
+ if (! account_allow($hash)) killme();
}
}