aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_user.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions_user.inc.php')
-rw-r--r--include/functions_user.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php
index 50467e909..e1aa9e82d 100644
--- a/include/functions_user.inc.php
+++ b/include/functions_user.inc.php
@@ -1171,7 +1171,7 @@ function pwg_password_verify($password, $hash, $user_id=null)
global $conf, $pwg_hasher;
// If the password has not been hashed with the current algorithm.
- if (strpos('$P', $hash) !== 0)
+ if (strpos($hash, '$P') !== 0)
{
if (!empty($conf['pass_convert']))
{