X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Flogin.php;h=10b4d3001d6a69562d987a528394ffbfc34e029e;hb=d0dd22af570a06016053030fa468f83d14f25f5d;hp=58af42d7445321f72e60c3164fbedb0671e1d7b6;hpb=2a269e0c182eb90405644190abe6f40a9cdef615;p=friendica.git diff --git a/mod/login.php b/mod/login.php index 58af42d744..10b4d3001d 100644 --- a/mod/login.php +++ b/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); } \ No newline at end of file