Skip to content

Commit dbf1d49

Browse files
committed
=== update
1 parent 1eb1f1e commit dbf1d49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/core/src/Auth/Source/AdminPassword.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ protected function login(string $username, string $password): array
5959
}
6060

6161
$pwinfo = password_get_info($adminPassword);
62-
if (!$pwinfo['algo']) {
62+
if ($pwinfo['algo'] === null) {
6363
throw new Error\Error(Error\ErrorCodes::ADMINNOTHASHED);
6464
}
6565

0 commit comments

Comments
 (0)