mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 14:10:29 +08:00
修复单点登录
This commit is contained in:
parent
33335c9523
commit
aa92f0aa52
@ -226,6 +226,10 @@ export class BaseSysLoginService extends BaseService {
|
||||
`admin:passwordVersion:${decoded['userId']}`,
|
||||
decoded['passwordVersion']
|
||||
);
|
||||
await this.cacheManager.set(
|
||||
`admin:token:${decoded['userId']}`,
|
||||
result.token
|
||||
);
|
||||
return result;
|
||||
}
|
||||
} catch (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user