diff options
author | Sébastien NOBILI <s-code-github@pipoprods.org> | 2020-06-03 10:35:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-03 10:35:41 +0200 |
commit | 9ba6982ea312c49a5c2b2cc5ad09d350e46fd87f (patch) | |
tree | dc48e76f7a1628c080317b75305c43b8b36d7e36 /application/security | |
parent | 21e5df5ee8f302ab96d4ca46ac3070405dd9aafb (diff) | |
download | Shaarli-9ba6982ea312c49a5c2b2cc5ad09d350e46fd87f.tar.gz Shaarli-9ba6982ea312c49a5c2b2cc5ad09d350e46fd87f.tar.zst Shaarli-9ba6982ea312c49a5c2b2cc5ad09d350e46fd87f.zip |
Update application/security/LoginManager.php
Co-authored-by: ArthurHoaro <arthur@hoa.ro>
Diffstat (limited to 'application/security')
-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 | ||