1
1
Fork 0

redirect to home after logging in using login url

This commit is contained in:
Friendika 2011-08-11 04:28:06 -07:00
parent 04b59ac49a
commit 0db145dafa

View file

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