1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00

fix : return from submit method when pin is empty (#5769)

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
This commit is contained in:
Asifur Rahman Arnab 2023-11-13 21:26:52 +06:00 committed by GitHub
parent f40f88a497
commit 84f93edd8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(