mirror of
https://github.com/friendica/friendica
synced 2026-01-21 03:38:41 +01:00
fix register policy
This commit is contained in:
parent
bec3d15c52
commit
5ca174ae34
2 changed files with 2 additions and 2 deletions
|
|
@ -4,5 +4,5 @@
|
|||
|
||||
function login_content(&$a) {
|
||||
// return login($a->config['register_enabled']);
|
||||
return login(($a->config['register_policy'] == REGISTER_CLOSED) ? 0 : 1);
|
||||
return login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue