From 3407c33775391fa8c36f7d766f26c5e59a736374 Mon Sep 17 00:00:00 2001 From: RobThree Date: Fri, 21 Jun 2019 10:51:04 +0200 Subject: [PATCH] * Switched default ImageChartsQRCodeProvider to QRServerProvider --- composer.json | 2 +- lib/TwoFactorAuth.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index fb55c75..cb3b2b1 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/lib/TwoFactorAuth.php b/lib/TwoFactorAuth.php index 5ca7213..7bc067d 100644 --- a/lib/TwoFactorAuth.php +++ b/lib/TwoFactorAuth.php @@ -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; }