mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-17 22:12:47 +08: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(
|
||||
new ImageRenderer(
|
||||
new RendererStyle(192, 0, null, null, $color),
|
||||
new RendererStyle(192, 4, null, null, $color),
|
||||
new SvgImageBackEnd()
|
||||
)
|
||||
))->writeString($url);
|
||||
|
|
Loading…
Reference in New Issue
Block a user