Skip to content

Commit

Permalink
Append query string in QR code
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-security committed Jun 17, 2016
1 parent 3d214dc commit 20dd0ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Vendor/GoogleAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public function makeQRCode(
} elseif ($this->otp instanceof HOTP) {
$args['counter'] = $initialCounter;
}
$message .= '?' . \http_build_query($args);

$qrCodeWriter->writeFile($message, $outFile);
}
Expand Down

0 comments on commit 20dd0ba

Please sign in to comment.