From 997925c4eec48cb6faa6034f1841d37b03c28f78 Mon Sep 17 00:00:00 2001 From: Robert O'Rourke Date: Wed, 21 Jul 2021 18:52:43 +0100 Subject: [PATCH] Fix the available providers UI Fixes https://github.com/humanmade/altis-security/issues/93 --- class.two-factor-core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class.two-factor-core.php b/class.two-factor-core.php index fc5dc4df..8ecc2cdd 100644 --- a/class.two-factor-core.php +++ b/class.two-factor-core.php @@ -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 ) ) {