merge-requests/1/head
Imesh Chandrasiri 7 years ago
parent c46cbb34ad
commit a753ce1648

@ -92,7 +92,7 @@ $(document).ready(function(){
$(errorMsg).text("Password is a required field. It cannot be empty."); $(errorMsg).text("Password is a required field. It cannot be empty.");
$(errorMsgWrapper).removeClass("hidden"); $(errorMsgWrapper).removeClass("hidden");
} else if (password.length < 6) { } else if (password.length < 6) {
$(errorMsg).text("Password is a required field. It cannot be empty."); $(errorMsg).text("Password should contain a minimum of 6 characters.");
$(errorMsgWrapper).removeClass("hidden"); $(errorMsgWrapper).removeClass("hidden");
} else if (password != passwordConfirmation) { } else if (password != passwordConfirmation) {
$(errorMsg).text("Please enter the same password for confirmation."); $(errorMsg).text("Please enter the same password for confirmation.");

Loading…
Cancel
Save