Skip to content

Commit

Permalink
Temporarily say that only Special users & WC Special roles SHOULD be …
Browse files Browse the repository at this point in the history
…2FA.
  • Loading branch information
dd32 authored Jul 25, 2024
1 parent 953b75d commit 2b9c587
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wporg-two-factor.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ function user_should_2fa( $user ) : bool {
return true;
}

/*
// If a user ... they should have 2FA enabled.
if (
// Is (or was) a plugin committer
Expand All @@ -283,6 +284,7 @@ function user_should_2fa( $user ) : bool {
) {
return true;
}
*/

return false;
}
Expand Down

0 comments on commit 2b9c587

Please sign in to comment.