AuthMeReloaded icon indicating copy to clipboard operation
AuthMeReloaded copied to clipboard

QR Code margin=0 prevents QR code scanning

Open user4302 opened this issue 1 year ago • 2 comments

What behaviour is observed?

the QR code can not be scanned, unless the image background is somehow changed to white.

Expected behaviour

the QR code is susessfullty scanned

To Reproduce

  1. enable 2fa
  2. click on link
  3. link will open in browser to show a qr code with no margin/border and a black background
  4. the qr code can not be scanned

alternatively:

  • change the page background color, using dev tools, to white, then the code can be scanned.
  • or in the url change 'margin=0' to 'margin=10', and the code can now be scanned.

Plugin list

Plugins (1): AuthMe

Server Implementation

Standalone server (no proxy)

Database Implementation

SQLite

AuthMe Version

AuthMe-5.6.0-beta2

Error log (if applicable)

No response

Configuration

https://gist.github.com/user4302/e5adcc8ec69ac1a3cb0ffd0471a6e7e8

user4302 avatar Oct 14 '22 01:10 user4302