aboutsummaryrefslogtreecommitdiffstats
path: root/mod/login.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/login.php')
-rw-r--r--mod/login.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/login.php b/mod/login.php
index 6ee625966..58af42d74 100644
--- a/mod/login.php
+++ b/mod/login.php
@@ -1,5 +1,8 @@
<?php
function login_content(&$a) {
+ if(x($_SESSION,'theme'))
+ unset($_SESSION['theme']);
return login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true);
+
} \ No newline at end of file