1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-05 23:41:28 +01:00

Add removal todo note

This commit is contained in:
Bernd Schoolmann 2025-01-13 18:21:09 +01:00
parent c4c6c9784f
commit f7ec68ffb8
No known key found for this signature in database

View File

@ -84,6 +84,7 @@ export class BackgroundBrowserBiometricsService extends BiometricsService {
try {
await this.ensureConnected();
// todo remove after 2025.3
if (this.nativeMessagingBackground().isConnectedToOutdatedDesktopClient) {
const response = await this.nativeMessagingBackground().callCommand({
command: BiometricsCommands.Unlock,
@ -95,7 +96,6 @@ export class BackgroundBrowserBiometricsService extends BiometricsService {
await this.biometricStateService.setBiometricUnlockEnabled(true);
await this.biometricStateService.setFingerprintValidated(true);
this.keyService.setUserKey(userKey, userId);
await BrowserApi.sendMessage("updateBadge");
return response.userKeyB64;
}
} else {
@ -113,7 +113,6 @@ export class BackgroundBrowserBiometricsService extends BiometricsService {
await this.biometricStateService.setBiometricUnlockEnabled(true);
await this.biometricStateService.setFingerprintValidated(true);
this.keyService.setUserKey(userKey, userId);
await BrowserApi.sendMessage("updateBadge");
return response.userKeyB64;
}
} else {