]> git.mxchange.org Git - friendica.git/blobdiff - mod/login.php
Contact names with ">" and "<" are a problem ...
[friendica.git] / mod / login.php
index 10b4d3001d6a69562d987a528394ffbfc34e029e..d09fc1868f55adb2525f734666abeae77c22be38 100644 (file)
@@ -3,8 +3,11 @@
 function login_content(&$a) {
        if(x($_SESSION,'theme'))
                unset($_SESSION['theme']);
+       if(x($_SESSION,'mobile-theme'))
+               unset($_SESSION['mobile-theme']);
+
        if(local_user())
                goaway(z_root());
        return login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true);
 
-}
\ No newline at end of file
+}