Skip to content

Commit 8e51a5f

Browse files
committed
Check that php was compiled with argon2 support or that the php-sodium
extensions is installed Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 parent 6f1c2ed commit 8e51a5f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

apps/settings/lib/Controller/CheckSetupController.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,10 @@ protected function hasRecommendedPHPModules(): array {
627627
}
628628
}
629629

630+
if (!defined('PASSWORD_ARGON2I')) {
631+
$recommendedPHPModules[] = 'sodium';
632+
}
633+
630634
return $recommendedPHPModules;
631635
}
632636

0 commit comments

Comments
 (0)