--- a/src/etc/inc/auth.inc +++ b/src/etc/inc/auth.inc @@ -834,7 +834,7 @@ switch ($hashalgo) { case 'sha512': $salt = substr(bin2hex(random_bytes(16)),0,16); - $user['sha512-hash'] = crypt($password, '$6$'. $salt . '$'); + $user['sha512-hash'] = crypt($password, '$6$rounds=800000$'. $salt . '$'); break; case 'bcrypt': default: