Skip to content

Commit b2b605e

Browse files
committed
This is for the current session and not the user edited
1 parent aa8cfda commit b2b605e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

class-two-factor-core.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1848,7 +1848,7 @@ public static function user_two_factor_options( $user ) {
18481848
// This is specific to the current session, not the displayed user.
18491849
$show_2fa_options = self::current_user_can_update_two_factor_options();
18501850

1851-
if ( $providers && ! $show_2fa_options ) {
1851+
if ( ! $show_2fa_options ) {
18521852
$url = add_query_arg(
18531853
'redirect_to',
18541854
urlencode( self::get_user_settings_page_url( $user->ID ) . '#two-factor-options' ),

0 commit comments

Comments
 (0)