1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-08-04 19:35:48 +02:00
bitwarden-browser/apps
Daniel James Smith a1e536a5ef
[PS-1175] Resolve issue with processReload not executing (#3240)
* Removed check for getBiometricLocked
It always returned false even when no biometrics were used.

* Remove the other check for getBiometricsLocked

* Ensure that biometricFingerprintValidation is reset, when biometrics are disabled

* Removed getBiometricsLocked and setBiometricsLocked
With nothing in the codebase reading the state of getBiometricsLocked, I've removed all places where it was set or saved.

* Refactor execution of reload into a separate method

* Conditonally pass the window object to `BrowserApi.reloadExtension`

* Clarify in comment, that the PIN has to be set with ask for Master Password on restart

* Ensure the process reload is executed on logout

* Use accounts instead of lastActive == null to determine a reload on logout

* Moved identical logic from desktop and browser into system.service

* Simplified check for refresh to handle no accounts found, logout, lock with lastActive longer than 5 seconds
2022-08-05 20:04:27 +02:00
..
browser [PS-1175] Resolve issue with processReload not executing (#3240) 2022-08-05 20:04:27 +02:00
cli [PS-1152] CLI serve forbid browser requests (#3220) 2022-08-05 10:27:11 -05:00
desktop [PS-1175] Resolve issue with processReload not executing (#3240) 2022-08-05 20:04:27 +02:00
web fix: link sso button (#3242) 2022-08-05 13:20:41 -04:00