diff options
author | kesselb <mail@danielkesselberg.de> | 2021-08-03 13:43:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-03 13:43:48 +0300 |
commit | 6c27354daebce37a38d52fceb68e9fe4371d3619 (patch) | |
tree | 084229e5604ba9dea411adb9f0e78b1491095f82 | |
parent | 41e27c73d6a41119b73df123144ba55475332a4a (diff) | |
parent | a5ae0524e8eaf70f673344907738e3820532b0fe (diff) |
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
-rw-r--r-- | apps/settings/lib/Controller/CheckSetupController.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php index d7295aaf264..72b7a2afe4f 100644 --- a/apps/settings/lib/Controller/CheckSetupController.php +++ b/apps/settings/lib/Controller/CheckSetupController.php @@ -621,6 +621,10 @@ Raw output } } + if (!defined('PASSWORD_ARGON2I')) { + $recommendedPHPModules[] = 'sodium'; + } + return $recommendedPHPModules; } |