Skip to content

Commit 17f861a

Browse files
fix: Ensure default biometric policy is applied when local authentication options are null
1 parent 7b9db65 commit 17f861a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth0/src/main/java/com/auth0/android/authentication/storage/SecureCredentialsManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public class SecureCredentialsManager @VisibleForTesting(otherwise = VisibleForT
9393
WeakReference(fragmentActivity),
9494
localAuthenticationOptions,
9595
DefaultLocalAuthenticationManagerFactory(),
96-
localAuthenticationOptions.policy
96+
localAuthenticationOptions?.policy ?: BiometricPolicy.Always
9797
)
9898

9999
/**

0 commit comments

Comments
 (0)