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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user