diff options
author | kesselb <mail@danielkesselberg.de> | 2021-08-04 18:54:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-04 18:54:21 +0200 |
commit | 01a87ea2bbf20b160d0c4f45f6fad124cfecaaed (patch) | |
tree | c8ad1afc9e343310342a994b0390f7c1bcd57f0c | |
parent | 768c134c2e344ee1005c851cf12d04904f35935c (diff) | |
parent | b4a85c2785ccb14d6a2d797fa1accac6f5f2b52a (diff) | |
download | nextcloud-server-01a87ea2bbf20b160d0c4f45f6fad124cfecaaed.tar.gz nextcloud-server-01a87ea2bbf20b160d0c4f45f6fad124cfecaaed.zip |
Merge pull request #28287 from nextcloud/backport/28259/stable21
[stable21] Check that php was compiled with argon2 support or that the php-sodium extensions is installed
-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 d732b137199..e7cb2610f11 100644 --- a/apps/settings/lib/Controller/CheckSetupController.php +++ b/apps/settings/lib/Controller/CheckSetupController.php @@ -623,6 +623,10 @@ Raw output } } + if (!defined('PASSWORD_ARGON2I')) { + $recommendedPHPModules[] = 'sodium'; + } + return $recommendedPHPModules; } |