diff options
-rw-r--r-- | application/security/LoginManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/security/LoginManager.php b/application/security/LoginManager.php index 16ef3878..e34e0efa 100644 --- a/application/security/LoginManager.php +++ b/application/security/LoginManager.php | |||
@@ -141,7 +141,7 @@ class LoginManager | |||
141 | public function checkCredentials($remoteIp, $clientIpId, $login, $password) | 141 | public function checkCredentials($remoteIp, $clientIpId, $login, $password) |
142 | { | 142 | { |
143 | // Check login matches config | 143 | // Check login matches config |
144 | if ($login != $this->configManager->get('credentials.login')) { | 144 | if ($login !== $this->configManager->get('credentials.login')) { |
145 | return false; | 145 | return false; |
146 | } | 146 | } |
147 | 147 | ||