Skip to content

[5.x]: Required two-step verification applies to users without control panel access #18586

@mikejpeters

Description

@mikejpeters

What happened?

Description

In the User Settings the Require two-step verification help text says "Choose which users must use two-step verification when accessing the control panel.", but after setting this to All users, it seems to apply even to users without control panel access.

Steps to reproduce

  1. Under User Settings set Require two-step verification to All users
  2. Create a user without any permissions
  3. Attempt to sign into the frontend

Expected behavior

User should have access to the frontend without setting up 2fa

Actual behavior

Two-Step Verification Setup screen is displayed with the message:
Your account requires two-step verification. Please enable one of these methods before proceeding.

Craft CMS version

5.9.17

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions