This commit is contained in:
Imesh Chandrasiri 2017-07-13 11:39:32 +05:30
parent c46cbb34ad
commit a753ce1648

View File

@ -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.");