mirror of https://github.com/itflow-org/itflow
Use HTTPS instead (eventually to move this into a local library)
This commit is contained in:
parent
6cb3d8f9d0
commit
a593e4cbbb
|
|
@ -59,7 +59,7 @@ class TokenAuth6238 {
|
|||
}
|
||||
|
||||
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.$username . "@" . $domain . "%3Fsecret%3D" . $secretkey . '%26issuer%3D' . rawurlencode($issuer);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue