Skip to content

Commit

Permalink
✨ feat(frontend): Add function to grant biometric access
Browse files Browse the repository at this point in the history
Added a new function `grantBiometricAccess` to handle the process of requesting biometric access and displaying alerts based on the user's decision. This function is called when biometric access is not already granted. Updated the logic for handling biometric initialization and access verification.

Refactored code in `App.vue` to improve biometric authentication flow.

See details in the diff for more information.

Closes #32
Co-authored-by: John Doe <[email protected]>
  • Loading branch information
sudoskys committed May 12, 2024
1 parent a526728 commit 5e4786b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ const grantBiometricAccess = () => {
(isAccessGranted: boolean) => {
if (isAccessGranted) {
console.log('Biometric access granted')
WebApp.close()
} else {
console.log('Biometric access denied')
WebAppPopup.showAlert('Biometric access denied, you can click settings to open the settings')
Expand Down

0 comments on commit 5e4786b

Please sign in to comment.