Skip to content

Commit

Permalink
Remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparsd committed Dec 3, 2024
1 parent 2eee45d commit 8b9c5af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class-two-factor-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -1802,7 +1802,7 @@ public static function user_two_factor_options( $user ) {
}

// This is specific to the current session, not the displayed user.
$show_2fa_options = self::current_user_can_update_two_factor_options() || true;
$show_2fa_options = self::current_user_can_update_two_factor_options();

if ( ! $show_2fa_options ) {
$url = add_query_arg(
Expand Down

0 comments on commit 8b9c5af

Please sign in to comment.