Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
do not use margin around QR code
Browse files Browse the repository at this point in the history
  • Loading branch information
François Kooman committed Jul 27, 2020
1 parent ca95512 commit ed266c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TwoFactorEnrollModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function (Request $request, array $hookData) {
ob_start();
passthru(
sprintf(
'%s -s 5 -t PNG -o - %s',
'%s -m 0 -s 5 -t PNG -o - %s',
self::QR_ENCODE_PATH,
escapeshellarg($otpAuthUrl)
)
Expand Down

0 comments on commit ed266c5

Please sign in to comment.