* [FIX] Enforced salt length to 22 chars long.

This commit is contained in:
nuxsmin
2017-01-31 15:11:43 +01:00
parent 81b4203655
commit 3c1aee6983

View File

@@ -113,7 +113,7 @@ class Crypt
$salt = Config::getConfig()->getPasswordSalt();
}
return '$2y$07$' . substr($salt, 0, 21) . '$';
return '$2y$07$' . substr($salt, 0, 22) . '$';
}
/**