From 999f9691ae6f98d48db3a8f589ba34f4cdd38ea6 Mon Sep 17 00:00:00 2001 From: Johan Jongsma Date: Sun, 1 Feb 2026 19:39:28 +0000 Subject: [PATCH] Fix biometric enable - reset auth state first to force prompt --- lib/services/auth_service.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/services/auth_service.dart b/lib/services/auth_service.dart index f97162d..f349c79 100644 --- a/lib/services/auth_service.dart +++ b/lib/services/auth_service.dart @@ -157,7 +157,10 @@ class AuthService extends ChangeNotifier { /// Enable biometric authentication for future logins Future enableBiometric() async { - // First verify user can authenticate + // Reset auth state so we actually prompt the user + _biometricService.resetAuthState(); + + // Now verify user can authenticate final result = await _biometricService.authenticate( reason: 'Verify your identity to enable biometric login', );