X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fuser%2FBotPassword.php;h=25625e72c8c97712d438fec931741612c7af8851;hp=9a955fb9284e34d212006b58366a19749a297424;hb=956c2430c7b8fceb289aaeacc8d6c2e0def2c56e;hpb=2ffff73a46c29cdad1cbf59063f4dd75debd3b4c diff --git a/includes/user/BotPassword.php b/includes/user/BotPassword.php index 9a955fb928..25625e72c8 100644 --- a/includes/user/BotPassword.php +++ b/includes/user/BotPassword.php @@ -411,7 +411,7 @@ class BotPassword implements IDBAccessObject { * @return array|false */ public static function canonicalizeLoginData( $username, $password ) { - $sep = BotPassword::getSeparator(); + $sep = self::getSeparator(); // the strlen check helps minimize the password information obtainable from timing if ( strlen( $password ) >= 32 && strpos( $username, $sep ) !== false ) { // the separator is not valid in new usernames but might appear in legacy ones