Skip to content

Commit

Permalink
Update the error messages for understandability.
Browse files Browse the repository at this point in the history
Co-authored-by: Timothy Jacobs <[email protected]>
  • Loading branch information
georgestephanis and TimothyBJacobs authored Aug 24, 2023
1 parent f8c780d commit 2e616ea
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 @@ -456,7 +456,7 @@ public static function get_available_providers_for_user( $user = null ) {
} else {
return new WP_Error(
'no_available_2fa_methods',
__( 'Error: User has Two Factor method(s) enabled, but provider(s) no longer exist,', 'two-factor' ),
__( 'Error: You have Two Factor method(s) enabled, but the provider(s) no longer exist. Please contact a site administrator for assistance.', 'two-factor' ),
array(
'user_providers_raw' => $user_providers_raw,
'available_providers' => array_keys( $providers ),
Expand Down

0 comments on commit 2e616ea

Please sign in to comment.