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:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user