mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-26 20:22:18 +00:00
Added border to generated TOTP QR code
To fix QR code not being scannable when in dark mode due to lack of border matching background of QR code. Fixes #2925
This commit is contained in:
parent
2eafd8335c
commit
8565187138
@ -54,7 +54,7 @@ class TotpService
|
|||||||
|
|
||||||
return (new Writer(
|
return (new Writer(
|
||||||
new ImageRenderer(
|
new ImageRenderer(
|
||||||
new RendererStyle(192, 0, null, null, $color),
|
new RendererStyle(192, 4, null, null, $color),
|
||||||
new SvgImageBackEnd()
|
new SvgImageBackEnd()
|
||||||
)
|
)
|
||||||
))->writeString($url);
|
))->writeString($url);
|
||||||
|
Loading…
Reference in New Issue
Block a user