diff --git a/libs/angular/src/auth/components/set-pin.component.ts b/libs/angular/src/auth/components/set-pin.component.ts index b17b7079ac..9219535ff7 100644 --- a/libs/angular/src/auth/components/set-pin.component.ts +++ b/libs/angular/src/auth/components/set-pin.component.ts @@ -34,6 +34,7 @@ export class SetPinComponent implements OnInit { async submit() { if (Utils.isNullOrWhitespace(this.pin)) { this.modalRef.close(false); + return; } const pinKey = await this.cryptoService.makePinKey(