Check that php was compiled with argon2 support or that the php-sodium

extensions is installed

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
Carl Schwan 2021-07-30 14:34:05 +02:00 committed by backportbot[bot]
parent 380dd25268
commit b4a85c2785

View file

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