|
|
@ -99,8 +99,13 @@ $(document).ready(function () {
|
|
|
|
|
|
|
|
|
|
|
|
$(this).append(hiddenPasswordField, hiddenConfirmPasswordField);
|
|
|
|
$(this).append(hiddenPasswordField, hiddenConfirmPasswordField);
|
|
|
|
|
|
|
|
|
|
|
|
idPassword.remove();
|
|
|
|
// Get the length of the original password
|
|
|
|
idConfirmPassword.remove();
|
|
|
|
var passwordLength = idPassword.val().length;
|
|
|
|
|
|
|
|
var confirmPasswordLength = idConfirmPassword.val().length;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Replace the original password fields with asterisks of the same length
|
|
|
|
|
|
|
|
idPassword.val('*'.repeat(passwordLength));
|
|
|
|
|
|
|
|
idConfirmPassword.val('*'.repeat(confirmPasswordLength));
|
|
|
|
|
|
|
|
|
|
|
|
this.submit();
|
|
|
|
this.submit();
|
|
|
|
});
|
|
|
|
});
|
|
|
|