mirror of
https://github.com/itflow-org/itflow
synced 2026-03-04 04:44:51 +00:00
Merge pull request #714 from wrongecho/qr-charts-api
Google Charts - Use HTTPS instead
This commit is contained in:
@@ -59,7 +59,7 @@ class TokenAuth6238 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static function getBarCodeUrl($username, $domain, $secretkey, $issuer) {
|
public static function getBarCodeUrl($username, $domain, $secretkey, $issuer) {
|
||||||
$url = "http://chart.apis.google.com/chart";
|
$url = "https://chart.apis.google.com/chart";
|
||||||
$url = $url."?chs=200x200&chld=M|0&cht=qr&chl=otpauth://totp/";
|
$url = $url."?chs=200x200&chld=M|0&cht=qr&chl=otpauth://totp/";
|
||||||
$url = $url.$username . "@" . $domain . "%3Fsecret%3D" . $secretkey . '%26issuer%3D' . rawurlencode($issuer);
|
$url = $url.$username . "@" . $domain . "%3Fsecret%3D" . $secretkey . '%26issuer%3D' . rawurlencode($issuer);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user