diff --git a/Core/Frameworks/Baikal/Core/PDOBasicAuth.php b/Core/Frameworks/Baikal/Core/PDOBasicAuth.php index 1a7b4af..9270194 100644 --- a/Core/Frameworks/Baikal/Core/PDOBasicAuth.php +++ b/Core/Frameworks/Baikal/Core/PDOBasicAuth.php @@ -69,7 +69,7 @@ class PDOBasicAuth extends \Sabre\DAV\Auth\Backend\AbstractBasic { if (!count($result)) return false; $hash = md5($username . ':' . $this->authRealm . ':' . $password); - if ($result[0]['digesta1'] == $hash) + if ($result[0]['digesta1'] === $hash) { $this->currentUser = $username; return true;