Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Check that php was compiled with argon2 support or that the php-sodium
extensions is installed

Signed-off-by: Carl Schwan <[email protected]>
  • Loading branch information
CarlSchwan authored and backportbot[bot] committed Aug 2, 2021
commit b4a85c2785ccb14d6a2d797fa1accac6f5f2b52a
4 changes: 4 additions & 0 deletions apps/settings/lib/Controller/CheckSetupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,10 @@ protected function hasRecommendedPHPModules(): array {
}
}

if (!defined('PASSWORD_ARGON2I')) {
$recommendedPHPModules[] = 'sodium';
}

return $recommendedPHPModules;
}

Expand Down