Skip to content

Commit

Permalink
Use the text "Use your security key" as the alternate provider text o…
Browse files Browse the repository at this point in the history
…n the login screen.
  • Loading branch information
dd32 authored May 17, 2023
1 parent 4a16de4 commit 96d7d8a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions inc/class-webauthn-provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ public function get_label() {
return _x( 'WebAuthn', 'Provider label', 'two-factor-provider-webauthn' );
}

/**
* @return string
*/
public function get_alternative_provider_label() {
return _x( 'Use your security key', 'Provider label', 'two-factor-provider-webauthn' );
}

/**
* @param WP_User $user
* @return void
Expand Down

0 comments on commit 96d7d8a

Please sign in to comment.