Clean notice after update password + fix addText function

See BT#12323
ofaj
jmontoyaa 9 years ago
parent c41601266a
commit afe60be3fe
  1. 1
      main/auth/inscription.php
  2. 6
      main/inc/lib/api.lib.php

@ -216,6 +216,7 @@ if ($user_already_registered_show_terms === false) {
$form->addText(
'username',
get_lang('UserName'),
true,
array(
'id' => 'username',
'size' => USERNAME_MAX_LENGTH,

@ -7243,6 +7243,12 @@ function api_get_password_checker_js($usernameInputId, $passwordInputId)
}
};
$('".$passwordInputId."').pwstrength(options);
$('".$passwordInputId."').on('input', function() {
$(this).parent().find('.help-inline').hide();
});
});
</script>";

Loading…
Cancel
Save