1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 05:30:01 +00:00

Fix bug preventing password login

This commit is contained in:
Thomas Rittson
2025-03-18 12:37:15 +10:00
parent 8754d2f767
commit 34406dca75
2 changed files with 4 additions and 1 deletions

View File

@@ -1 +1,4 @@
// TODO: add tests for OpaqueLoginStrategy once it is implemented
describe("OpaqueLoginStrategy", () => {
it.todo("Write me!");
});

View File

@@ -237,7 +237,7 @@ export class LoginStrategyService implements LoginStrategyServiceAbstraction {
ownedCredentials = { ...credentials };
}
await this.currentAuthnTypeState.update((_) => credentials.type);
await this.currentAuthnTypeState.update((_) => ownedCredentials.type);
const strategy = await firstValueFrom(this.loginStrategy$);