fix(pc-client,account-service): B-61 试用前小修 - 头像取首字/群头像拼格/近似灰Token收敛/重置密码踢下线,构建 v1.0.1 安装包
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -326,6 +326,7 @@ const routes = {
|
||||
upsertEmployee(body.staffNo, emp.name, String(body.password));
|
||||
if (employees[body.staffNo].status !== 'active') employees[body.staffNo].status = emp.status; // 保留停用状态
|
||||
saveStore();
|
||||
forceLogoutAll(body.staffNo); // 密码已改,立即踢掉该员工所有端,防止旧 token 继续使用
|
||||
ok(res, publicView(employees[body.staffNo], body.staffNo));
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user