summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/admin.php b/lib/admin.php
index 8b36b36..afe3a9e 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, null, -1, '/', $config['cookie_host']);
+ setcookie(self::COOKIE_NAME, '', -1, '/', $config['cookie_host']);
}
public static function logAuth(): void {