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

Implement Disable Provider method #585

Closed
adamwoodnz opened this issue Aug 18, 2023 · 1 comment · Fixed by #587
Closed

Implement Disable Provider method #585

adamwoodnz opened this issue Aug 18, 2023 · 1 comment · Fixed by #587
Assignees
Milestone

Comments

@adamwoodnz
Copy link

adamwoodnz commented Aug 18, 2023

Two_Factor_Core provides a method enable_provider_for_user.

To compliment this, a method should be added disable_provider_for_user, which takes similar arguments ( $user_id, $provider ) and also returns a boolean.

@dd32
Copy link
Member

dd32 commented Aug 21, 2023

@adamwoodnz Can you update this with a two-factor specific request, rather than the wporg-two-factor requirements?

I think this is something like "There should be an API to compliment enable_provider_for_user() to disable a provider"?

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 a pull request may close this issue.

4 participants