mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
[PM-2772] add flag to deter process reload if cancel is clicked on biometrics (#7350)
* add flag to deter process reload if cancel is clicked on biometrics * rename flag * store biometrics cancelled to disk instead of integrating with process reload * allow auto-prompt when opening app
This commit is contained in:
@@ -89,6 +89,8 @@ export class WindowMain {
|
||||
// This method will be called when Electron is shutting
|
||||
// down the application.
|
||||
app.on("before-quit", () => {
|
||||
// Allow biometric to auto-prompt on reload
|
||||
this.stateService.setBiometricPromptCancelled(false);
|
||||
this.isQuitting = true;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user