diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2021-07-30 17:34:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 17:34:10 +0200 |
commit | 43e41ca5323388cc80c3179526d45544f6beb8f0 (patch) | |
tree | a2511a8e3f5fa8094defde6b4f10df70365beb74 /apps/settings | |
parent | 919e00a60b3bca68e5a9a75e49bdc0380ccb7789 (diff) | |
parent | 8e51a5fedae464a1f7be0e816fa22c59b35d27f8 (diff) | |
download | nextcloud-server-43e41ca5323388cc80c3179526d45544f6beb8f0.tar.gz nextcloud-server-43e41ca5323388cc80c3179526d45544f6beb8f0.zip |
Merge pull request #28259 from nextcloud/work/carl/sodium-check
Check that php was compiled with argon2 support or that the php-sodium extensions is installed
Diffstat (limited to 'apps/settings')
-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; } |