From fb63e77a10c7b030fd5b64c5223e852d496e353a Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Sat, 18 Jan 2020 23:01:55 +0800 Subject: [PATCH] fix bug, can't logout --- theme/classic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/classic.php b/theme/classic.php index 67ad6f6..4cde6ad 100644 --- a/theme/classic.php +++ b/theme/classic.php @@ -945,7 +945,7 @@ function logout() { - document.cookie = "=; path=/"; + document.cookie = "admin=; path=/"; location.href = location.href; } function enableedit(obj) {