Added alert() message when Certificate Password is too short.
This commit is contained in:
parent
4db9302042
commit
3cbf4b5b01
1 changed files with 2 additions and 1 deletions
|
@ -104,6 +104,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||||
let password = passwordInput.value;
|
let password = passwordInput.value;
|
||||||
|
|
||||||
if (password === "" || password.length < 8) {
|
if (password === "" || password.length < 8) {
|
||||||
|
alert("The password must be at least 8 characters long.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue