1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-22 16:29:09 +01:00
bitwarden-browser/libs/common
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
..
spec [PS-1175] Resolve issue with processReload not executing (#3240) 2022-08-05 20:04:27 +02:00
src [PS-1175] Resolve issue with processReload not executing (#3240) 2022-08-05 20:04:27 +02:00
jest.config.js [PS-182] Upgrade Angular to V14 (#2948) 2022-07-26 14:48:11 +02:00
package.json Use NPM workspace (#2874) 2022-06-14 17:10:53 +02:00
tsconfig.json Use NPM workspace (#2874) 2022-06-14 17:10:53 +02:00
tsconfig.spec.json Move to libs 2022-06-03 16:24:40 +02:00