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

add users/remove-2fa command #16053

Merged
merged 5 commits into from
Nov 9, 2024
Merged

Conversation

i-just
Copy link
Contributor

@i-just i-just commented Nov 8, 2024

Description

Adds users/remove-2fa CLI command.

  • It requires the user for whom you’d like to perform the removal (the ID, username, or email address of the user account).
  • You can choose to remove all two-step verification methods or a selected one.
  • As with removing via the Control Panel, if you remove the last non-Recovery Codes method, the Recovery Codes will be removed too.

Related issues

cms-1327
#15991

Copy link

linear bot commented Nov 8, 2024

@i-just i-just changed the title adds users/remove2fa command add users/remove2fa command Nov 8, 2024
@timkelty timkelty changed the title add users/remove2fa command add users/remove-2fa command Nov 8, 2024
@timkelty
Copy link
Contributor

timkelty commented Nov 8, 2024

@i-just @brandonkelly I pushed a tweak to normalize the action ID to remove-2fa. Looks like Yii's sluggification doesn't consider alpha-to-number a break.

@i-just
Copy link
Contributor Author

i-just commented Nov 8, 2024

Thanks @timkelty!

@brandonkelly brandonkelly merged commit 349d58b into 5.5 Nov 9, 2024
3 checks passed
@brandonkelly brandonkelly deleted the feature/cms-1327-cli-to-remove-2fa branch November 9, 2024 01:58
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.

3 participants