diff options
Diffstat (limited to 'plugins/UsersManager/UsersManager.php')
-rw-r--r-- | plugins/UsersManager/UsersManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UsersManager/UsersManager.php b/plugins/UsersManager/UsersManager.php index 1475f93654..d7e61921ac 100644 --- a/plugins/UsersManager/UsersManager.php +++ b/plugins/UsersManager/UsersManager.php @@ -194,7 +194,7 @@ class UsersManager extends \Piwik\Plugin if (!self::isValidPasswordString($password)) { throw new Exception(Piwik::translate('UsersManager_ExceptionInvalidPassword', array(self::PASSWORD_MIN_LENGTH))); } - if (Common::mb_strlen($password) > self::PASSWORD_MAX_LENGTH) { + if (mb_strlen($password) > self::PASSWORD_MAX_LENGTH) { throw new Exception(Piwik::translate('UsersManager_ExceptionInvalidPasswordTooLong', array(self::PASSWORD_MAX_LENGTH))); } } |