1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 05:53:42 +00:00

Update apps/browser/src/key-management/biometrics/foreground-browser-biometrics.ts

Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>
This commit is contained in:
Bernd Schoolmann
2025-01-14 16:53:00 +01:00
committed by GitHub
parent efbc80dc4d
commit 6573464cf2

View File

@@ -36,7 +36,7 @@ export class ForegroundBrowserBiometricsService extends BiometricsService {
if (!response.result) {
return null;
}
return new SymmetricCryptoKey(Utils.fromB64ToArray(response.result.keyB64)) as UserKey;
return new SymmetricCryptoKey.fromString(response.result.keyB64) as UserKey;
}
async getBiometricsStatusForUser(id: UserId): Promise<BiometricsStatus> {