We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eb1f1e commit dbf1d49Copy full SHA for dbf1d49
modules/core/src/Auth/Source/AdminPassword.php
@@ -59,7 +59,7 @@ protected function login(string $username, string $password): array
59
}
60
61
$pwinfo = password_get_info($adminPassword);
62
- if (!$pwinfo['algo']) {
+ if ($pwinfo['algo'] === null) {
63
throw new Error\Error(Error\ErrorCodes::ADMINNOTHASHED);
64
65
0 commit comments