mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-11-26 05:45:31 +00:00
set verify ssl parameter for HTTP based QR provider to true by default
it's already bad to use an external provider, let's use the safest defaults at least
This commit is contained in:
@@ -6,7 +6,7 @@ namespace RobThree\Auth\Providers\Qr;
|
||||
|
||||
abstract class BaseHTTPQRCodeProvider implements IQRCodeProvider
|
||||
{
|
||||
protected bool $verifyssl;
|
||||
protected bool $verifyssl = true;
|
||||
|
||||
protected function getContent(string $url): string|bool
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user