Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v17] fix: remove setting MfaWeakestDevice when loading users from auth #51229

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

tigrato
Copy link
Contributor

@tigrato tigrato commented Jan 20, 2025

Backport #51226 to branch/v17

This PR fixes a bug that causes compare and swap to fail when reading
users with secrets because we were mutating `MfaWeakestDevice` value and
comparison with database failed.

This PR removes the auto-filling of the field and transitions the
computation to CUD methods.

Fixes #51209

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
@tigrato tigrato added the no-changelog Indicates that a PR does not require a changelog entry label Jan 20, 2025
@github-actions github-actions bot requested review from gzdunek and ryanclark January 20, 2025 12:14
@tigrato tigrato added this pull request to the merge queue Jan 20, 2025
Merged via the queue into branch/v17 with commit d3decad Jan 20, 2025
41 checks passed
@tigrato tigrato deleted the bot/backport-51226-branch/v17 branch January 20, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants