mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
focus pin if using pinLock
This commit is contained in:
@@ -92,7 +92,7 @@ export class LockComponent implements OnInit {
|
||||
togglePassword() {
|
||||
this.platformUtilsService.eventTrack('Toggled Master Password on Unlock');
|
||||
this.showPassword = !this.showPassword;
|
||||
document.getElementById('masterPassword').focus();
|
||||
document.getElementById(this.pinLock ? 'pin' : 'masterPassword').focus();
|
||||
}
|
||||
|
||||
private async setKeyAndContinue(key: SymmetricCryptoKey) {
|
||||
|
||||
Reference in New Issue
Block a user