From 131ef803d1ee2b62562174148434fd0f618e86f3 Mon Sep 17 00:00:00 2001 From: Karson Date: Thu, 14 Mar 2024 19:52:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=8E=E5=8F=B0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=AA=E4=BA=BA=E8=B5=84=E6=96=99=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E9=80=80=E5=87=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controller/general/Profile.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/admin/controller/general/Profile.php b/application/admin/controller/general/Profile.php index feffa995..63b765c9 100644 --- a/application/admin/controller/general/Profile.php +++ b/application/admin/controller/general/Profile.php @@ -74,6 +74,7 @@ class Profile extends Backend $admin->save($params); //因为个人资料面板读取的Session显示,修改自己资料后同时更新Session Session::set("admin", $admin->toArray()); + Session::set("admin.safecode", $this->auth->getEncryptSafecode($admin)); $this->success(); } $this->error();