misc: update password checking code for new form markup (#46150)
This commit is contained in:
parent
5a9c4000df
commit
2033b742af
|
@ -3,7 +3,7 @@ a2_password_check_equality = (function () {
|
|||
$(function () {
|
||||
function check_equality() {
|
||||
setTimeout(function () {
|
||||
var $help_text = $input2.parent().find('.helptext');
|
||||
var $help_text = $input2.parent().find('.hint');
|
||||
var password1 = $input1.val();
|
||||
var password2 = $input2.val();
|
||||
|
||||
|
@ -36,7 +36,7 @@ a2_password_validate = (function () {
|
|||
}
|
||||
function get_validation($input) {
|
||||
var password = $input.val();
|
||||
var $help_text = $input.parent().find('.helptext');
|
||||
var $help_text = $input.parent().find('.hint');
|
||||
var $policyContainer = $help_text.find('.a2-password-policy-container');
|
||||
$.ajax({
|
||||
method: 'POST',
|
||||
|
|
Loading…
Reference in New Issue