Merge pull request #28287 from nextcloud/backport/28259/stable21

[stable21] Check that php was compiled with argon2 support or that the php-sodium extensions is installed
This commit is contained in:
kesselb 2021-08-04 18:54:21 +02:00 committed by GitHub
commit 01a87ea2bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -623,6 +623,10 @@ Raw output
}
}
if (!defined('PASSWORD_ARGON2I')) {
$recommendedPHPModules[] = 'sodium';
}
return $recommendedPHPModules;
}