Skip to content

[6.x] Fix enforced two factor setup elevation - #15329

Open
duncanmcclean wants to merge 1 commit into
6.xfrom
15216
Open

[6.x] Fix enforced two factor setup elevation#15329
duncanmcclean wants to merge 1 commit into
6.xfrom
15216

Conversation

@duncanmcclean

@duncanmcclean duncanmcclean commented Sep 1, 2026

Copy link
Copy Markdown
Member

This pull request fixes an issue where users with enforced two-factor authentication cannot start setup when their session is not elevated.

This was happening because the enforced-setup middleware redirected the elevation endpoints, and the outside layout did not render the elevation dialog.

This PR fixes it by allowing the elevation flow during setup, rendering its dialog, surfacing setup errors, and allowing admins to clear incomplete setup.

Fixes #15216

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enforced 2FA setup dead-ends when the session is not elevated — dialog swallows the 403

1 participant