Skip to content

Commit

Permalink
Merge pull request #468 from dd32/patch-2
Browse files Browse the repository at this point in the history
Use the text "Use your security key" as the alternate provider text on the login screen.
  • Loading branch information
sjinks authored May 19, 2023
2 parents 2f0d617 + 91b2de0 commit fc4c87e
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 fc4c87e

Please sign in to comment.