summaryrefslogtreecommitdiffstats
path: root/apps/settings/lib
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2021-07-30 14:34:05 +0200
committerCarl Schwan <carl@carlschwan.eu>2021-07-30 15:11:55 +0200
commit8e51a5fedae464a1f7be0e816fa22c59b35d27f8 (patch)
treed630b60184a893d9480822654d24791fe236c757 /apps/settings/lib
parent6f1c2ed50b036e5f910be48ed84e6e2a9a8e4a89 (diff)
downloadnextcloud-server-8e51a5fedae464a1f7be0e816fa22c59b35d27f8.tar.gz
nextcloud-server-8e51a5fedae464a1f7be0e816fa22c59b35d27f8.zip
Check that php was compiled with argon2 support or that the php-sodium
extensions is installed Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/settings/lib')
-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 27e8bfe6ac0..21b05d98979 100644
--- a/apps/settings/lib/Controller/CheckSetupController.php
+++ b/apps/settings/lib/Controller/CheckSetupController.php
@@ -627,6 +627,10 @@ Raw output
}
}
+ if (!defined('PASSWORD_ARGON2I')) {
+ $recommendedPHPModules[] = 'sodium';
+ }
+
return $recommendedPHPModules;
}