1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-08-18 21:54:02 +02:00
bitwarden-browser/libs/common/spec
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
..
importers Use NPM workspace (#2874) 2022-06-14 17:10:53 +02:00
matchers [EC-271] Refactor CryptoService - move symmetric encryption to EncryptService (#3042) 2022-07-26 11:40:32 +10:00
misc [PS-1175] Resolve issue with processReload not executing (#3240) 2022-08-05 20:04:27 +02:00
models [EC-281] Add de/serialization methods to CipherView objects (#2970) 2022-08-05 08:07:24 +10:00
services [EC-364] Expose key getters on CryptoService (#3170) 2022-08-04 07:09:36 +10:00
web/services Use NPM workspace (#2874) 2022-06-14 17:10:53 +02:00
test.setup.ts [EC-271] Refactor CryptoService - move symmetric encryption to EncryptService (#3042) 2022-07-26 11:40:32 +10:00
utils.ts [EC-271] Refactor CryptoService - move symmetric encryption to EncryptService (#3042) 2022-07-26 11:40:32 +10:00