mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-15 16:22:25 +02:00
Add OPENID_HTTP_VERIFY_SSL_PEER env var to disable ssl cert verification
Closes #479
This commit is contained in:
@ -15,7 +15,7 @@ if (! function_exists('envUnlessEmpty')) {
|
||||
/**
|
||||
* @return mixed|null
|
||||
*/
|
||||
function envUnlessEmpty(string $key, string|int|bool|float|null $default = null)
|
||||
function envUnlessEmpty(string $key, string|int|bool|float|array|null $default = null)
|
||||
{
|
||||
$result = env($key, $default);
|
||||
if ('' === $result) {
|
||||
|
Reference in New Issue
Block a user