From d0f14597cc89da81fba7c095c1fbda907bcccc69 Mon Sep 17 00:00:00 2001 From: xiaoz Date: Tue, 10 Dec 2024 10:40:29 +0800 Subject: [PATCH] 20241210 --- class/Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/Api.php b/class/Api.php index e2ae280..577e023 100755 --- a/class/Api.php +++ b/class/Api.php @@ -1200,7 +1200,7 @@ class Api { * 验证是否登录 */ protected function is_login(){ - $key = md5(USER.PASSWORD.'onenav'.$_SERVER['HTTP_USER_AGENT']); + $key = md5(USER.ENCRYPTED_PASSWORD.'onenav'.$_SERVER['HTTP_USER_AGENT']); //获取session $session = $_COOKIE['key']; //如果已经成功登录