mirror of
https://github.com/bitwarden/browser
synced 2026-02-02 09:43:29 +00:00
Added missing tests and missing userInitiated instance.
This commit is contained in:
@@ -313,7 +313,7 @@ export class LoginDecryptionOptionsComponent implements OnInit {
|
||||
|
||||
const userId = (await firstValueFrom(this.accountService.activeAccount$))?.id;
|
||||
if (confirmed) {
|
||||
await this.logoutService.logout(userId);
|
||||
await this.logoutService.logout(userId, "userInitiated");
|
||||
// navigate to root so redirect guard can properly route next active user or null user to correct page
|
||||
await this.router.navigate(["/"]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user