craftcms / craftcms/cms

[5.x]: 2FA setup screen looks like there's an overlay

Open
#16,834 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
3.6k
Forks
705
Avg merge
1d 5h
Merged PRs (30d)
134

Description

What happened?
Description

When a new users is activating his account and wants (needs) to setup 2fa, it looks like there is an overlay on top of the whole page. The user cannot enter anything because as soon as you click anywhere on the page (blueish overlay), the slideout for 2fa disappears.

Steps to reproduce
  1. Make a new user
  2. Click the activation link in the email
  3. Choose a password
  4. Click the button to setup 2fa
Expected behavior

Being able to enter the code.

Actual behavior

Overlay on top of the whole page.

Image
Craft CMS version

5.6.10.2

PHP version

8.4.3

Operating system and version

Linux 6.8.0-54-generic

Database type and version

MySQL 8.4.4

Image driver and version

No response

Installed plugins and versions

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the account activation flow described in the issue, then trace the 2FA setup slideout and the page overlay behavior. Confirm that the setup code field remains usable and that clicking within the setup screen does not dismiss it; no specific files or tests are identified in the report.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.