mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-01 03:18:33 +08:00
管理修改密码错误修复
This commit is contained in:
parent
32d66d81f6
commit
6529f803f4
@ -22,7 +22,7 @@ use think\facade\Db;
|
||||
class AdminService
|
||||
{
|
||||
// admin登录session key
|
||||
public static $admin_login_key = 'admin_login';
|
||||
public static $admin_login_key = 'admin_login_info';
|
||||
|
||||
/**
|
||||
* 管理员列表
|
||||
@ -309,7 +309,7 @@ class AdminService
|
||||
// 自己修改密码则重新登录
|
||||
if(!empty($params['login_pwd']) && $params['id'] == $params['admin']['id'])
|
||||
{
|
||||
session_destroy();
|
||||
self::LoginLogout();
|
||||
}
|
||||
|
||||
return DataReturn('编辑成功', 0);
|
||||
|
Loading…
Reference in New Issue
Block a user