public static preparePlainTextPassword ( $username, $plainTextPassword ) : string | ||
$username | ||
$plainTextPassword | ||
return | string |
public static function preparePlainTextPassword($username, $plainTextPassword)
{
// plaintext password is prepared as digest A1 hash, this is to be backward compatible because this was
// the former hashing algorithm in pimcore (< version 2.1.1)
return md5($username . ":pimcore:" . $plainTextPassword);
}