aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/sys/pwhash.php
diff options
context:
space:
mode:
Diffstat (limited to 'ratatoeskr/sys/pwhash.php')
-rw-r--r--ratatoeskr/sys/pwhash.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratatoeskr/sys/pwhash.php b/ratatoeskr/sys/pwhash.php
index 3d3c589..f52ae03 100644
--- a/ratatoeskr/sys/pwhash.php
+++ b/ratatoeskr/sys/pwhash.php
@@ -70,7 +70,7 @@ class PasswordHash
*/
public static function validate($password, $pwhash)
{
- list($iterations, $hexsalt, $hash) = explode('$', $pwhash);
+ list($iterations, $hexsalt) = explode('$', $pwhash);
return self::hash($password, pack("H*", $hexsalt), $iterations) == $pwhash;
}
}