Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkesselb <mail@danielkesselberg.de>2021-08-03 13:43:48 +0300
committerGitHub <noreply@github.com>2021-08-03 13:43:48 +0300
commit6c27354daebce37a38d52fceb68e9fe4371d3619 (patch)
tree084229e5604ba9dea411adb9f0e78b1491095f82
parent41e27c73d6a41119b73df123144ba55475332a4a (diff)
parenta5ae0524e8eaf70f673344907738e3820532b0fe (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.php4
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;
}