summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2021-07-30 14:34:05 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-08-02 09:19:09 +0000
commit94466918e3c7593c389533a7b5797ac0b8341448 (patch)
treeb74269c36a724718d596e6a5160a9d39a44b1a57
parente02dde323d9d451163bc853dcfd8e86e166b1c1d (diff)
downloadnextcloud-server-94466918e3c7593c389533a7b5797ac0b8341448.tar.gz
nextcloud-server-94466918e3c7593c389533a7b5797ac0b8341448.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>
-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;
}