Merge pull request #28289 from nextcloud/backport/28259/stable20

[stable20] Check that php was compiled with argon2 support or that the php-sodium extensions is installed
This commit is contained in:
kesselb 2021-08-03 12:43:48 +02:00 committed by GitHub
commit 6c27354dae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -621,6 +621,10 @@ Raw output
}
}
if (!defined('PASSWORD_ARGON2I')) {
$recommendedPHPModules[] = 'sodium';
}
return $recommendedPHPModules;
}