diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-07-09 20:18:25 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-07-09 20:18:25 +0300 |
commit | 60f62b2ae411e1e3ba3ed4e09b7cd70e41c36265 (patch) | |
tree | f11697473a50835f35155945b5b6c2e749ed2ba9 /lib | |
parent | 1e5d5a80039e0a89380d7fe4fde89b6fed3c0b9a (diff) |
admin: fix cookie unsetting
Diffstat (limited to 'lib')
-rw-r--r-- | lib/admin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/admin.php b/lib/admin.php index afe3a9e..0f9d610 100644 --- a/lib/admin.php +++ b/lib/admin.php @@ -41,7 +41,7 @@ class admin { public static function unsetCookie(): void { global $config; - setcookie(self::COOKIE_NAME, '', -1, '/', $config['cookie_host']); + setcookie(self::COOKIE_NAME, '', 1, '/', $config['cookie_host']); } public static function logAuth(): void { |