Skip to content

Commit

Permalink
Merge pull request #28287 from nextcloud/backport/28259/stable21
Browse files Browse the repository at this point in the history
[stable21] Check that php was compiled with argon2 support or that the php-sodium extensions is installed
  • Loading branch information
kesselb authored Aug 4, 2021
2 parents 768c134 + b4a85c2 commit 01a87ea
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit 01a87ea

Please sign in to comment.