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