Skip to content

[v14] fix: Let users without a useable device issue register challenges#32430

Merged
codingllama merged 2 commits intobranch/v14from
codingllama/register-bug-v14
Sep 27, 2023
Merged

[v14] fix: Let users without a useable device issue register challenges#32430
codingllama merged 2 commits intobranch/v14from
codingllama/register-bug-v14

Conversation

@codingllama
Copy link
Copy Markdown
Contributor

@codingllama codingllama commented Sep 22, 2023

Cherry-pick of parts of #32271 (validateMFAAuthResponseForRegister function) and #32428, with a couple of manual changes due to branch drift.

Count devices according to the cluster settings, so users without a useable device can still register new MFA devices (via privilege tokens).

This is a long-standing corner case of privilege tokens. tsh registrations not affected.

Changelog: Fix a corner case of privilege tokens where MFA devices disabled by cluster settings were still counted against the user.

@codingllama
Copy link
Copy Markdown
Contributor Author

#32428 landed cleanly, so I'm moving this out of draft and asking the same folks for a review. Note that this is a cherry-pick of changes, not a bot-created backported. Thanks!

@codingllama codingllama added this pull request to the merge queue Sep 27, 2023
Merged via the queue into branch/v14 with commit 707072e Sep 27, 2023
@codingllama codingllama deleted the codingllama/register-bug-v14 branch September 27, 2023 15:12
@public-teleport-github-review-bot
Copy link
Copy Markdown

@codingllama See the table below for backport results.

Branch Result
branch/v12 Create PR
branch/v13 Create PR

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants