* Switched default ImageChartsQRCodeProvider to QRServerProvider

This commit is contained in:
RobThree
2019-06-21 10:51:04 +02:00
parent 401fc07652
commit 3407c33775
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "robthree/twofactorauth",
"description": "Two Factor Authentication",
"version": "1.6.6",
"version": "1.6.7",
"type": "library",
"keywords": [ "Authentication", "Two Factor Authentication", "Multi Factor Authentication", "TFA", "MFA", "PHP", "Authenticator", "Authy" ],
"homepage": "https://github.com/RobThree/TwoFactorAuth",
+1 -1
View File
@@ -212,7 +212,7 @@ class TwoFactorAuth
{
// Set default QR Code provider if none was specified
if (null === $this->qrcodeprovider) {
return $this->qrcodeprovider = new Providers\Qr\ImageChartsQRCodeProvider();
return $this->qrcodeprovider = new Providers\Qr\QRServerProvider();
}
return $this->qrcodeprovider;
}