-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
No QR code appearing in settings #17567
Copy link
Copy link
Open
Labels
BugA problem or regression with an existing featureA problem or regression with an existing featurewaiting on upstreamIssues blocked by a third-partyIssues blocked by a third-party
Description
Activity
Metadata
Metadata
Assignees
Labels
BugA problem or regression with an existing featureA problem or regression with an existing featurewaiting on upstreamIssues blocked by a third-partyIssues blocked by a third-party
I've upgraded from phpMyAdmin 5.0.2 to 5.2.0. Everything seems fine however after the upgrade the QR code to enable 2FA does not show up anymore. It shows a complete white block.
I did a inspect on the generated HTML code and notices this issue:
This
<g transform="scale(3,509)">seems to be incorrect. If I change the comma here to a dot, so 3.509 the QR shows fine.I now made a workaround to fix this but of course it's a workaround...
I've added the following CSS to \templates\preferences\two_factor\configure.twig:
I've also updated the Google2FA and Google2FA-QR libraries to it's latest versions which seems to be working fine.