alleyinteractive / wp-alleyvate

Defaults for WordPress sites by Alley.
GNU General Public License v2.0
17 stars 2 forks source link

[FEATURE]: Disable 2FA locally #20

Open jakewrfoster opened 1 year ago

jakewrfoster commented 1 year ago

Description

2FA should be disabled for local development environments.

Use Case

2FA is unneeded for local development environments and presents an easily avoidable time-sink to developers when encountered on local dev envs.

jakewrfoster commented 1 year ago

Issue originally raised by @emilyatmobtown

jakewrfoster commented 1 year ago

For VIP sites, please refer to: https://docs.wpvip.com/technical-references/restricting-site-access/two-factor-authentication/#h-disable-two-factor-authentication-enforcement

mskapusuz commented 1 year ago

Hey there @jakewrfoster

I want to contribute to that one if you are welcome. I wonder which environment should be disabled?

I'm incredibly new to VIP stuff, and I've just set up my local VIP environment. From what I can see, there are many non-prod environments non-production environments

I assume the 2FA should not be disabled for some non-prod environments, such as staging and preprod. For the remaining non-production environments, 2FA can be disabled, IMO.

Thanks!