Adding a warning on the JS side

pull/2454/head
Charles Schaefer 5 months ago
parent 19c1511231
commit 83db0d9fee
No known key found for this signature in database

@ -93,6 +93,9 @@ export async function authenticate(
* using the system interface (touchID, faceID or Android Iris).
* Rejects if the authentication fails.
*
* Warning: consider that if the data is encrypted and the user changes the biometric settings, the key needed
* to decrypt the data will be lost. So, it's recommended to use this only to data that the user can get back
* by other means (i.e. storing their password in a secure way so they can login passwordless with biometric authentication).
*
* ```javascript
* import { biometricCipher } from "@tauri-apps/plugin-biometric";

Loading…
Cancel
Save