Fix biometric setup not resetting the setting in browser (#15267)

This commit is contained in:
Bernd Schoolmann 2025-06-26 16:41:04 +02:00 committed by GitHub
parent 28e799f2bb
commit 963688b17e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -533,6 +533,7 @@ export class AccountSecurityComponent implements OnInit, OnDestroy {
await this.biometricStateService.setBiometricUnlockEnabled(successful);
if (!successful) {
await this.biometricStateService.setFingerprintValidated(false);
return;
}
this.toastService.showToast({
variant: "success",
@ -597,6 +598,8 @@ export class AccountSecurityComponent implements OnInit, OnDestroy {
this.i18nService.t("errorEnableBiometricTitle"),
this.i18nService.t("errorEnableBiometricDesc"),
);
setupResult = false;
return;
}
setupResult = true;
} catch (e) {