Skip to content

Commit

Permalink
Merge pull request #3 from humanmade/fix-profile-ui
Browse files Browse the repository at this point in the history
Fix the available providers UI
  • Loading branch information
roborourke authored Jul 21, 2021
2 parents 0b88237 + 997925c commit 93fd2b2
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 @@ -614,7 +614,7 @@ public static function manage_users_custom_column( $output, $column_name, $user_
public static function user_two_factor_options( $user ) {
wp_enqueue_style( 'user-edit-2fa', plugins_url( 'user-edit.css', __FILE__ ) );

$enabled_providers = array_keys( self::get_available_providers_for_user( $user->ID ) );
$enabled_providers = array_keys( self::get_available_providers_for_user( $user ) );
$primary_provider = self::get_primary_provider_for_user( $user->ID );

if ( ! empty( $primary_provider ) && is_object( $primary_provider ) ) {
Expand Down

0 comments on commit 93fd2b2

Please sign in to comment.