diff --git a/src/etc/inc/auth.inc b/src/etc/inc/auth.inc index 662c3903d..ca8f4daf7 100644 --- a/src/etc/inc/auth.inc +++ b/src/etc/inc/auth.inc @@ -557,11 +557,6 @@ function local_user_set_password(&$user, $password = null) $hash = password_hash($password, PASSWORD_BCRYPT, [ 'cost' => $cost ]); if ($hash !== false) { - /* - * $2y$ returned is supported in FreeBSD 11.0 and up, - * but we started with FreeBSD 10.3 so need to fix: - */ - $hash[2] = 'b'; $user['password'] = $hash; } }