Skip to content

Add wp-cli support #233

Closed

Description

@gurumark

It would be great to have a wp-cli support to set the authentication method and save.
Thanks!

Activity

  1. changed the title [-]Is there any wp-cli support?[/-] [+]Add wp-cli support[/+] on Jun 19, 2018
  2. kasparsd commented on Jun 19, 2018

    @kasparsd
    Collaborator

    This a great suggestion, thanks @gurumark!

  3. mikeselander commented on Sep 5, 2018

    @mikeselander
    Contributor

    👍 on this request. It would be excellent to have the option to turn 2fa options on/off for a specific users or for all users on a site.

    If turning it on the only option that you could force would probably be email since it's the only one that doesn't require some user interaction.

  4. added this to the Future Release milestone on Sep 17, 2024
  5. sjinks commented on Mar 4, 2026

    @sjinks
    Contributor

    Yeah, an option to turn off 2FA would be great.

    Maybe something like

    wp user 2fa disable <ID|email>
    wp user 2fa enable <ID|email> # set 2FA to use Email Provider
    
  6. georgestephanis commented on Mar 4, 2026

    @georgestephanis
    Collaborator

    I think ideally the functionality would be in the plugin now, and if the core two-factor merged into core, then we can pitch it to merge into wp-cli itself.

  7. added a commit that references this issue on Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

Sponsor
SponsoredKunjungi sekarang
Promo