diff --git a/src/angular/components/lock.component.ts b/src/angular/components/lock.component.ts index 31493ac872..8c88f6363f 100644 --- a/src/angular/components/lock.component.ts +++ b/src/angular/components/lock.component.ts @@ -60,8 +60,8 @@ export class LockComponent implements OnInit { if (this.pinSet[0]) { const protectedPin = await this.storageService.get(ConstantsService.protectedPin); const decPin = await this.cryptoService.decryptToUtf8(new CipherString(protectedPin)); - this.lockService.pinLocked = false; failed = decPin !== this.pin; + this.lockService.pinLocked = failed; if (!failed) { this.doContinue(); }