Browse Source

redirect to home after logging in using login url

pull/1/head
Friendika 11 years ago
parent
commit
0db145dafa
  1. 2
      mod/login.php

2
mod/login.php

@ -3,6 +3,8 @@
function login_content(&$a) {
if(x($_SESSION,'theme'))
unset($_SESSION['theme']);
if(local_user())
goaway(z_root());
return login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true);
}
Loading…
Cancel
Save