mirror of
https://github.com/bitwarden/browser
synced 2026-02-03 10:13:31 +00:00
Add tech debt comment
This commit is contained in:
@@ -87,7 +87,7 @@ export abstract class LoginStrategy {
|
||||
protected KdfConfigService: KdfConfigService,
|
||||
protected environmentService: EnvironmentService,
|
||||
protected configService: ConfigService,
|
||||
) {}
|
||||
) { }
|
||||
|
||||
abstract exportCache(): CacheData;
|
||||
|
||||
@@ -266,6 +266,7 @@ export abstract class LoginStrategy {
|
||||
|
||||
this.messagingService.send("loggedIn");
|
||||
// There is an import cycle between PasswordLoginStrategyData and LoginStrategy, which means this cast is necessary, which is solved by extracting the data classes.
|
||||
// TODO: https://bitwarden.atlassian.net/browse/PM-27573
|
||||
result.masterPassword = (this.cache.value as any)["masterPassword"] ?? null;
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user