Commit 02cf3dde by Qiang Xue

Merge pull request #1525 from dizews/patch-1

Update BaseSecurity.php
parents 7488caac 92b9ae38
......@@ -302,7 +302,7 @@ class BaseSecurity
$test = crypt($password, $hash);
$n = strlen($test);
if (strlen($test) < 32 || $n !== strlen($hash)) {
if ($n < 32 || $n !== strlen($hash)) {
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment