mirror of
https://github.com/bitwarden/browser
synced 2026-02-01 09:13:54 +00:00
Added handling of user key rotation logout
This commit is contained in:
@@ -189,7 +189,7 @@ export class UserKeyRotationService {
|
||||
timeout: 15000,
|
||||
});
|
||||
|
||||
await this.logoutService.logout(user.id);
|
||||
await this.logoutService.logout(user.id, "userKeyRotation");
|
||||
}
|
||||
|
||||
protected async ensureIsAllowedToRotateUserKey(): Promise<void> {
|
||||
|
||||
@@ -10,4 +10,5 @@ export type LogoutReason =
|
||||
| "setInitialPassword"
|
||||
| "sessionExpired"
|
||||
| "userInitiated"
|
||||
| "userKeyRotation"
|
||||
| "vaultTimeout";
|
||||
|
||||
Reference in New Issue
Block a user