Projet

Général

Profil

Révision 582db59d

Ajouté par Assos Assos il y a presque 9 ans

Update Drupal core to version 7.40

Voir les différences:

drupal7/modules/user/user.js
93 93
 * Returns the estimated strength and the relevant output message.
94 94
 */
95 95
Drupal.evaluatePasswordStrength = function (password, translate) {
96
  password = $.trim(password);
97

  
96 98
  var weaknesses = 0, strength = 100, msg = [];
97 99

  
98 100
  var hasLowercase = /[a-z]+/.test(password);

Formats disponibles : Unified diff