1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 14:53:33 +00:00

[PM-7972] Account switching integration with "remember email" functionality (#9750)

* add account switching logic to login email service

* enforce boolean and fix desktop account switcher order
This commit is contained in:
Jake Fink
2024-07-03 09:53:40 -04:00
committed by GitHub
parent 5839999fc4
commit 052b3be2eb
7 changed files with 225 additions and 32 deletions

View File

@@ -126,7 +126,7 @@ export class LoginComponent extends CaptchaProtectedComponent implements OnInit,
let rememberEmail = this.loginEmailService.getRememberEmail();
if (rememberEmail == null) {
if (!rememberEmail) {
rememberEmail = (await firstValueFrom(this.loginEmailService.storedEmail$)) != null;
}