summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/functions.php b/functions.php
index 32540bf56..16b5dac67 100644
--- a/functions.php
+++ b/functions.php
@@ -678,12 +678,8 @@
exit;
}
} else {
- $force_logout = $_POST["ForceLogout"];
-
- if (!http_authenticate_user($link, $force_logout == "yes")) {
- if (!http_authenticate_user($link, true)) {
- exit;
- }
+ if (!http_authenticate_user($link, false)) {
+ exit;
}
}
} else {