Skip to content

Commit

Permalink
Fix webauthn autocomplete token example
Browse files Browse the repository at this point in the history
The example incorrectly used "password" instead of "current-password".

Fixes whatwg#8019.
  • Loading branch information
nsatragno authored Jun 17, 2022
1 parent ad05018 commit bfa6f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -56458,7 +56458,7 @@ MIT Room 32-G524
or show a <span>public key credential</span> that will resolve a pending
<code>navigator.credentials.get()</code> request. A user can select either to sign-in.</p>

<pre><code class="html">&lt;input name=password type=password autocomplete="password webauthn"></code></pre>
<pre><code class="html">&lt;input name=password type=password autocomplete="current-password webauthn"></code></pre>
</div>

<p>The <span>autofill scope</span> identifies the group of fields whose information concerns the
Expand Down

0 comments on commit bfa6f2f

Please sign in to comment.