Skip to content

Commit

Permalink
Merge pull request #123 from sjinks/GH-93
Browse files Browse the repository at this point in the history
GH-93: remove required attribute from webauthn_key_name
  • Loading branch information
sjinks authored Jun 10, 2022
2 parents 3bbfe95 + 5190fa7 commit dfc7c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/user-profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<div class="hide-if-no-js add-webauthn-key">
<p>
<label for="webauthn-key-name" style="vertical-align: middle"><strong><?php esc_html_e( 'Key name:', 'two-factor-provider-webauthn' ); ?></strong></label>
<input type="text" required="required" id="webauthn-key-name" value="" style="vertical-align: middle" />
<input type="text" id="webauthn-key-name" value="" style="vertical-align: middle" />
<button type="button" class="button button-secondary" style="vertical-align: middle"><?php echo esc_html( _x( 'Register New Key', 'security key', 'two-factor-provider-webauthn' ) ); ?></button>
</p>
<span class="security-key-status" aria-live="polite"></span>
Expand Down

0 comments on commit dfc7c32

Please sign in to comment.