more work

This commit is contained in:
Mike Macgirvin 2010-07-08 17:49:41 -07:00
commit bec3d15c52
4 changed files with 25 additions and 8 deletions

View file

@ -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);
}