diff --git a/class-two-factor-core.php b/class-two-factor-core.php index 0b69ea04..236663fa 100644 --- a/class-two-factor-core.php +++ b/class-two-factor-core.php @@ -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(