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 and sjinks committed May 19, 2023
1 parent 2f0d617 commit 91b2de0
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 91b2de0

Please sign in to comment.