diff --git a/class-two-factor-core.php b/class-two-factor-core.php index 6ccd1dff..12ae6895 100644 --- a/class-two-factor-core.php +++ b/class-two-factor-core.php @@ -1848,7 +1848,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(); - if ( $providers && ! $show_2fa_options ) { + if ( ! $show_2fa_options ) { $url = add_query_arg( 'redirect_to', urlencode( self::get_user_settings_page_url( $user->ID ) . '#two-factor-options' ),