Skip to content

Commit

Permalink
Remove debug logic
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparsd committed Sep 19, 2024
1 parent a5b2214 commit ba5750d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions class-two-factor-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -1246,8 +1246,6 @@ public static function current_user_can_update_two_factor_options( $context = 'd
return false;
}

return true;

// If the current user is not using two-factor, they can adjust the settings.
if ( ! self::is_user_using_two_factor( $user_id ) ) {
return true;
Expand Down

0 comments on commit ba5750d

Please sign in to comment.