aboutsummaryrefslogtreecommitdiffstats
path: root/mod/login.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-08 17:49:41 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-08 17:49:41 -0700
commitbec3d15c525ff12ba0de53c0b21e03cc9a3a7f39 (patch)
tree95d9760bf08424eede588935e177900f38b087d7 /mod/login.php
parentd81365c1238171b1068df7a2b2001b88646bdd98 (diff)
downloadvolse-hubzilla-bec3d15c525ff12ba0de53c0b21e03cc9a3a7f39.tar.gz
volse-hubzilla-bec3d15c525ff12ba0de53c0b21e03cc9a3a7f39.tar.bz2
volse-hubzilla-bec3d15c525ff12ba0de53c0b21e03cc9a3a7f39.zip
more work
Diffstat (limited to 'mod/login.php')
-rw-r--r--mod/login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/login.php b/mod/login.php
index 296890a5b..4ee4e1fa0 100644
--- a/mod/login.php
+++ b/mod/login.php
@@ -4,5 +4,5 @@
function login_content(&$a) {
// return login($a->config['register_enabled']);
- return login(1);
+ return login(($a->config['register_policy'] == REGISTER_CLOSED) ? 0 : 1);
} \ No newline at end of file