summaryrefslogtreecommitdiffstats
path: root/lib/private/user
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2013-10-08 20:03:16 +0200
committerAndreas Fischer <bantu@owncloud.com>2013-10-08 20:03:16 +0200
commit75588fc0b6556d64825e842d4cf62ea572792723 (patch)
treeaa7b417d93f0cb69888f00d2fea4480e36167f36 /lib/private/user
parent114e9d44032bdaf4e1c117e5859f4fe864b23c78 (diff)
downloadnextcloud-server-75588fc0b6556d64825e842d4cf62ea572792723.tar.gz
nextcloud-server-75588fc0b6556d64825e842d4cf62ea572792723.zip
Use strict comparison === instead of ==.
Diffstat (limited to 'lib/private/user')
-rw-r--r--lib/private/user/dummy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/user/dummy.php b/lib/private/user/dummy.php
index f4d11428f2f..52be7edfa75 100644
--- a/lib/private/user/dummy.php
+++ b/lib/private/user/dummy.php
@@ -88,7 +88,7 @@ class OC_User_Dummy extends OC_User_Backend {
* returns the user id or false
*/
public function checkPassword($uid, $password) {
- if (isset($this->users[$uid]) && $this->users[$uid] == $password) {
+ if (isset($this->users[$uid]) && $this->users[$uid] === $password) {
return $uid;
} else {
return false;