Update application/security/LoginManager.php

Co-authored-by: ArthurHoaro <arthur@hoa.ro>
This commit is contained in:
Sébastien NOBILI 2020-06-03 10:35:41 +02:00 committed by GitHub
parent 21e5df5ee8
commit 9ba6982ea3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,7 +141,7 @@ public function isLoggedIn()
public function checkCredentials($remoteIp, $clientIpId, $login, $password) public function checkCredentials($remoteIp, $clientIpId, $login, $password)
{ {
// Check login matches config // Check login matches config
if ($login != $this->configManager->get('credentials.login')) { if ($login !== $this->configManager->get('credentials.login')) {
return false; return false;
} }