Skip to content

Commit 43d1dc7

Browse files
marcogruhlnull93
andauthored
Added margin to the QR Code
Co-authored-by: Rafael Grigorian <5500199+null93@users.noreply.github.com>
1 parent 2f2a851 commit 43d1dc7

File tree

1 file changed

+1
-0
lines changed
  • src/app/code/community/JetRails/TwoFactor/Helper

1 file changed

+1
-0
lines changed

src/app/code/community/JetRails/TwoFactor/Helper/Totp.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ public function QRCode ( $email, $issuer, $secret, $size = 200 ) {
164164
$url .= "qr";
165165
$url .= "?text=" . urlencode ( $uri );
166166
$url .= "&width=" . $size . "&height=" . $size;
167+
$url .= "&margin=1";
167168
// Return the URL to the QR barcode
168169
return $url;
169170
}

0 commit comments

Comments
 (0)