mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 22:20:30 +08:00
注销去除密码版本
This commit is contained in:
parent
755a750d22
commit
61fd3b0ab8
@ -167,6 +167,7 @@ export class BaseSysLoginService extends BaseService {
|
|||||||
await this.cacheManager.del(`admin:perms:${userId}`);
|
await this.cacheManager.del(`admin:perms:${userId}`);
|
||||||
await this.cacheManager.del(`admin:token:${userId}`);
|
await this.cacheManager.del(`admin:token:${userId}`);
|
||||||
await this.cacheManager.del(`admin:token:refresh:${userId}`);
|
await this.cacheManager.del(`admin:token:refresh:${userId}`);
|
||||||
|
await this.cacheManager.del(`admin:passwordVersion:${userId}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user