redirect to home after logging in using login url

This commit is contained in:
Friendika 2011-08-11 04:28:06 -07:00
부모 04b59ac49a
커밋 0db145dafa
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

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