Skip to content

Commit

Permalink
Update google-authenticator.c
Browse files Browse the repository at this point in the history
Since the Google Chart API is not available now, update the chart URL with the quickchart.io.
  • Loading branch information
jerrydu0809 committed Apr 11, 2024
1 parent 52ee28a commit 6073fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google-authenticator.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ static const char *getURL(const char *secret, const char *label,

if (encoderURL) {
// Show a QR code.
const char *encoder = "https://www.google.com/chart?chs=200x200&"
const char *encoder = "https://quickchart.io/chart?chs=200x200&"
"chld=M|0&cht=qr&chl=";
const char *encodedURL = urlEncode(url);

Expand Down

0 comments on commit 6073fb5

Please sign in to comment.