aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSébastien NOBILI <s-code-github@pipoprods.org>2020-06-03 10:35:41 +0200
committerGitHub <noreply@github.com>2020-06-03 10:35:41 +0200
commit9ba6982ea312c49a5c2b2cc5ad09d350e46fd87f (patch)
treedc48e76f7a1628c080317b75305c43b8b36d7e36
parent21e5df5ee8f302ab96d4ca46ac3070405dd9aafb (diff)
downloadShaarli-9ba6982ea312c49a5c2b2cc5ad09d350e46fd87f.tar.gz
Shaarli-9ba6982ea312c49a5c2b2cc5ad09d350e46fd87f.tar.zst
Shaarli-9ba6982ea312c49a5c2b2cc5ad09d350e46fd87f.zip
Update application/security/LoginManager.php
Co-authored-by: ArthurHoaro <arthur@hoa.ro>
-rw-r--r--application/security/LoginManager.php2
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