From 472abcc5b1f0f91f695f759e33a53a7cc4f61b4b Mon Sep 17 00:00:00 2001 From: Miguel Balparda Date: Mon, 18 Mar 2019 08:27:10 -0300 Subject: [PATCH] Updated url to create QR --- lib/GoogleAuthenticator/PHPGangsta/GoogleAuthenticator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/GoogleAuthenticator/PHPGangsta/GoogleAuthenticator.php b/lib/GoogleAuthenticator/PHPGangsta/GoogleAuthenticator.php index ff09e60..c998759 100644 --- a/lib/GoogleAuthenticator/PHPGangsta/GoogleAuthenticator.php +++ b/lib/GoogleAuthenticator/PHPGangsta/GoogleAuthenticator.php @@ -79,7 +79,7 @@ public function getQRCodeGoogleUrl($name, $secret, $title = null) { if(isset($title)) { $urlencoded .= urlencode('&issuer='.$title); } - return 'https://chart.googleapis.com/chart?chs=200x200&chld=M|0&cht=qr&chl='.$urlencoded.''; + return 'https://api.qrserver.com/v1/create-qr-code/?size=200x200&data='.$urlencoded.''; } /**