matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.92k stars 2.66k forks source link

Adjust 2FA step 2 behaviour to move QR code into a modal #22775

Open michalkleiner opened 3 days ago

michalkleiner commented 3 days ago

Description:

Adjust step 2 of the 2FA setup to only show the QR code after clicking a button to prevent it from being seen unexpectedly.

Based on a desk-check review with product, I've also slightly moved the icon in the copy code button and did a small enhancement to the modal mechanism to allow to select which element should be focused when the modal is opened.

Fixes #18667. Ref DEV-14129.

Review