diff --git a/class-two-factor-core.php b/class-two-factor-core.php index a1c47558..1e6f99e6 100644 --- a/class-two-factor-core.php +++ b/class-two-factor-core.php @@ -1041,6 +1041,8 @@ public static function login_html( $user, $login_nonce, $redirect_to, $error_msg // Disable the language switcher. add_filter( 'login_display_language_dropdown', '__return_false' ); + wp_enqueue_style( 'user-edit-2fa', plugins_url( 'user-edit.css', __FILE__ ), array(), TWO_FACTOR_VERSION ); + login_header(); if ( ! empty( $error_msg ) ) { @@ -1100,33 +1102,6 @@ public static function login_html( $user, $login_nonce, $redirect_to, $error_msg -