mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
shallow copy credentials in strategies that store them (#7047)
- add warnings about dead objects in firefox
This commit is contained in:
@@ -208,6 +208,8 @@ export class AuthService implements AuthServiceAbstraction {
|
||||
break;
|
||||
}
|
||||
|
||||
// Note: Do not set the credentials object directly on the strategy. They are
|
||||
// created in the popup and can cause DeadObject references on Firefox.
|
||||
const result = await strategy.logIn(credentials as any);
|
||||
|
||||
if (result?.requiresTwoFactor) {
|
||||
|
||||
Reference in New Issue
Block a user