Allow user to manually input password when biometric fails (#19989)

This commit is contained in:
Parvesh Monu 2024-05-17 19:46:07 +05:30 committed by GitHub
parent 4c84dd4a1b
commit 47428368fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@
args-with-biometric-btn]) args-with-biometric-btn])
:on-success #(rf/dispatch [:standard-auth/on-biometric-success on-auth-success]) :on-success #(rf/dispatch [:standard-auth/on-biometric-success on-auth-success])
:on-fail (fn [err] :on-fail (fn [err]
(rf/dispatch [:standard-auth/authorize-with-password
args-with-biometric-btn])
(when on-auth-fail (on-auth-fail err)) (when on-auth-fail (on-auth-fail err))
(rf/dispatch [:standard-auth/on-biometric-fail err]))}]]]})) (rf/dispatch [:standard-auth/on-biometric-fail err]))}]]]}))