add docker

This commit is contained in:
xiaomlove
2025-04-27 21:09:42 +07:00
parent 996bb78e17
commit b43b1058c6
12 changed files with 393 additions and 6 deletions
+1 -1
View File
@@ -2980,7 +2980,7 @@ function logincookie($id, $authKey, $duration = 0)
$tokenJson = json_encode($tokenData);
$signature = hash_hmac('sha256', $tokenJson, $authKey);
$authToken = base64_encode($tokenJson . '.' . $signature);
setcookie("c_secure_pass", $authToken, $expires, "/", "", true, true);
setcookie("c_secure_pass", $authToken, $expires, "/", "", isHttps(), true);
$update = [
'last_login' => now(),
];