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 flag to also disable 2fa #1

Open
CodeProKid opened this issue Apr 21, 2017 · 2 comments
Open

Add flag to also disable 2fa #1

CodeProKid opened this issue Apr 21, 2017 · 2 comments
Assignees

Comments

@CodeProKid
Copy link
Collaborator

CodeProKid commented Apr 21, 2017

This is helpful for local dev, and is currently a manual process.

This is what we currently do:

if you update your local mu-plugins you will get the same syndication error that production had a few weeks ago. It will say something about your site being in staging mode.

To fix this you have to go into this file:
wp-mason/mu-plugins/vip-jetpack/jetpack-force-2fa/jetpack-force-2fa.php

and comment out this line:
https://github.com/Automattic/jetpack-force-2fa/blob/ef7a7b8edb6550aea4c0e5f0f47ef06cdea9ce32/jetpack-force-2fa.php#L16

You can now log in to your local site

After logging into your site you will need to go to:
Jetpack > Settings > Security > Single Sign On
and turn that off

You will need to do this for each site.

After doing this to each site you can uncomment that line again.
@CodeProKid CodeProKid self-assigned this Apr 21, 2017
@CodeProKid
Copy link
Collaborator Author

I think there might actually be a filter somewhere to disable this, but not totally sure, will need some looking into.

@keg
Copy link

keg commented May 16, 2017

There is a CLI for this too: wp jetpack module deactivate sso

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

No branches or pull requests

2 participants