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:
authorCarl Schwan <carl@carlschwan.eu>2021-07-30 15:34:05 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-08-02 12:19:10 +0300
commita5ae0524e8eaf70f673344907738e3820532b0fe (patch)
tree21d3909618beeb6dd8ae9dac799268436cb634cb
parent78a3a01911ab22c2fac82f5439959433d4648331 (diff)
Check that php was compiled with argon2 support or that the php-sodium
extensions is installed Signed-off-by: Carl Schwan <carl@carlschwan.eu>
-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;
}