mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-21 16:11:48 +00:00
* Removed CURLOPT_FOLLOWLOCATION and CURLOPT_MAXREDIRS (see #5)
This commit is contained in:
@@ -12,8 +12,6 @@ abstract class BaseHTTPQRCodeProvider implements IQRCodeProvider
|
||||
|
||||
curl_setopt_array($curlhandle, array(
|
||||
CURLOPT_URL => $url,
|
||||
CURLOPT_FOLLOWLOCATION => true,
|
||||
CURLOPT_MAXREDIRS => 3,
|
||||
CURLOPT_RETURNTRANSFER => true,
|
||||
CURLOPT_CONNECTTIMEOUT => 10,
|
||||
CURLOPT_DNS_CACHE_TIMEOUT => 10,
|
||||
|
||||
Reference in New Issue
Block a user