Skip to content

Commit d605558

Browse files
committed
fix: typo in readme
1 parent 06acf9e commit d605558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: frontend/frontend-sdk/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ hanko.onAfterStateChanged(({ state }) => {
171171

172172
switch (state.name) {
173173
case "login_init":
174-
state.webauthnAutofillActivation(); // Special handler for passkey autofill; requires an <input> field on the page with `autocomplete="username webauthn"` (e.g., <input type="text" name="username" autocomplete="username webauthn" />) so the browser can suggest and autofill passkeys when the user interacts with it.
174+
state.passkeyAutofillActivation(); // Special handler for passkey autofill; requires an <input> field on the page with `autocomplete="username webauthn"` (e.g., <input type="text" name="username" autocomplete="username webauthn" />) so the browser can suggest and autofill passkeys when the user interacts with it.
175175
break;
176176
case "login_password":
177177
// Render password input UI

0 commit comments

Comments
 (0)