Merge pull request #843 from DimalChandrasiri/master

Fixes #1168, #1170, #1166
revert-70aa11f8
Madhawa Perera 7 years ago committed by GitHub
commit 94d7401748

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

@ -67,7 +67,7 @@
</div> </div>
<div class="clearfix"> <div class="clearfix">
<label class="wr-input-label"> <label class="wr-input-label">
Set a name * to your policy<br> Set a name to your policy *<br>
( should be 1-to-30 characters long ) ( should be 1-to-30 characters long )
</label> </label>
<div id="policy-name-field" class="form-group wr-input-control"> <div id="policy-name-field" class="form-group wr-input-control">

Loading…
Cancel
Save