Skip to content

Commit

Permalink
GH-93: remove required attribute from webauthn_key_name
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Jun 10, 2022
1 parent 3bbfe95 commit 5190fa7
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 5190fa7

Please sign in to comment.