diff options
author | Carl Schwan <carl@carlschwan.eu> | 2021-07-30 14:34:05 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2021-07-30 15:11:55 +0200 |
commit | 8e51a5fedae464a1f7be0e816fa22c59b35d27f8 (patch) | |
tree | d630b60184a893d9480822654d24791fe236c757 /apps/settings/lib | |
parent | 6f1c2ed50b036e5f910be48ed84e6e2a9a8e4a89 (diff) | |
download | nextcloud-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.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 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; } |