aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/plugins/authpdo/auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/authpdo/auth.php b/lib/plugins/authpdo/auth.php
index 64ef94115..5eb70c95d 100644
--- a/lib/plugins/authpdo/auth.php
+++ b/lib/plugins/authpdo/auth.php
@@ -179,7 +179,7 @@ class auth_plugin_authpdo extends DokuWiki_Auth_Plugin {
return $passhash->verify_hash($pass, $userdata['hash']);
} else {
// clear text password in the database O_o
- return ($pass == $userdata['clear']);
+ return ($pass === $userdata['clear']);
}
}