From 8e51a5fedae464a1f7be0e816fa22c59b35d27f8 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Fri, 30 Jul 2021 14:34:05 +0200 Subject: Check that php was compiled with argon2 support or that the php-sodium extensions is installed Signed-off-by: Carl Schwan --- apps/settings/lib/Controller/CheckSetupController.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/settings/lib/Controller/CheckSetupController.php') 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; } -- cgit v1.2.3