1
0
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:
Todd Martin
2025-11-22 19:43:13 -05:00
parent db5cccb113
commit 191eec8162
2 changed files with 2 additions and 1 deletions

View File

@@ -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> {

View File

@@ -10,4 +10,5 @@ export type LogoutReason =
| "setInitialPassword"
| "sessionExpired"
| "userInitiated"
| "userKeyRotation"
| "vaultTimeout";