Skip to content

Commit b7dd414

Browse files
authored
Update LIB-Session.php
1 parent 245312c commit b7dd414

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/LIB-Session.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ class Session extends Core {
55
"domain" => HOST_NAME,
66
"path" => "/",
77
"httponly" => true,
8-
"expires" => 0
9-
// "secure" => true,
10-
// "samesite" => "None"
8+
"expires" => 0,
9+
"samesite" => "Lax",
10+
// "secure" => true
1111
];
1212

1313
// (B) CONSTRUCTOR - AUTO VALIDATE JWT COOKIE & RESTORE SESSION DATA
@@ -89,4 +89,4 @@ function destroy () {
8989
// (D2) CLEAR ALL SESSION DATA
9090
$_SESSION = [];
9191
}
92-
}
92+
}

0 commit comments

Comments
 (0)