mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Default to best supported password algorithm, although we never fell back to MD5 anyway #2556
This commit is contained in:
parent
3c0048d4ba
commit
6a29c54e78
1 changed files with 2 additions and 2 deletions
|
|
@ -128,12 +128,12 @@ class Password
|
|||
$algorithm = $config->password_hashing_algorithm ?? '';
|
||||
if (strval($algorithm) === '')
|
||||
{
|
||||
$algorithm = 'md5';
|
||||
$algorithm = self::getBestSupportedAlgorithm();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$algorithm = 'md5';
|
||||
$algorithm = self::getBestSupportedAlgorithm();
|
||||
}
|
||||
return $algorithm;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue