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
parent 6f1c2ed50b
commit 8e51a5feda
No known key found for this signature in database
GPG key ID: 06B35D38387B67BE

View file

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