We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 71c9f4c + 07cccce commit 506b411Copy full SHA for 506b411
apps/settings/lib/Controller/CheckSetupController.php
@@ -627,7 +627,11 @@ protected function hasRecommendedPHPModules(): array {
627
}
628
629
630
- if (!defined('PASSWORD_ARGON2I')) {
+ if (!defined('PASSWORD_ARGON2I') && PHP_VERSION_ID >= 70400) {
631
+ // Installing php-sodium on >=php7.4 will provide PASSWORD_ARGON2I
632
+ // on previous version argon2 wasn't part of the "standard" extension
633
+ // and RedHat disabled it so even installing php-sodium won't provide argon2i
634
+ // support in password_hash/password_verify.
635
$recommendedPHPModules[] = 'sodium';
636
637
0 commit comments