summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 71fd16542..9c64fad9f 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -756,9 +756,10 @@
}
if (!$_SESSION["uid"]) {
- render_login_form($link);
@session_destroy();
setcookie(session_name(), '', time()-42000, '/');
+
+ render_login_form($link);
exit;
}