summaryrefslogtreecommitdiff
path: root/include/sessions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-10-15 15:47:50 +0300
committerAndrew Dolgov <[email protected]>2018-10-15 15:47:50 +0300
commit65e98f40867862eb345676e23b633b9f52109d30 (patch)
treee52d5e33eb31fff3ca3b4106540475eb13fd4ce2 /include/sessions.php
parent74736fce0f89efbaa971e6817303e8840c4aed8f (diff)
force regenerate session id on successful login, remove previous blank SID check
Diffstat (limited to 'include/sessions.php')
-rw-r--r--include/sessions.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/sessions.php b/include/sessions.php
index 2d17bfd8e..f625cd16f 100644
--- a/include/sessions.php
+++ b/include/sessions.php
@@ -160,9 +160,5 @@
if (!defined('NO_SESSION_AUTOSTART')) {
if (isset($_COOKIE[session_name()])) {
@session_start();
-
- if (!$_SESSION['uid']) {
- logout_user();
- }
}
}