1
0
mirror of https://github.com/bitwarden/browser synced 2025-01-27 11:39:42 +01:00
Daniel James Smith 183c945963
Small refactor of lock.component (#3325)
* Extract method for unlockWithPin

* Extract method for unlockWithMasterPassword

* Switch condition and use early return

* Moved logic that belongs together closer together

* Make unlockWithPin and unlockWithMP private and move them below the public methods

* Extract to new method handlePinRequiredUnlock
Remove kdf and kdfIteration params

* Extract to new method handleMasterPasswordRequiredUnlock
Remove kdf and kdfIteration params
2022-08-18 17:56:55 +02:00
..
2022-08-11 11:35:08 +10:00
2022-08-11 11:35:08 +10:00
2022-08-11 11:35:08 +10:00