mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-16 04:56:12 +00:00
refactor: update options API for simplewebauthn (#543)
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
isLoading = true;
|
||||
try {
|
||||
const loginOptions = await webauthnService.getLoginOptions();
|
||||
const authResponse = await startAuthentication(loginOptions);
|
||||
const authResponse = await startAuthentication({optionsJSON: loginOptions});
|
||||
const user = await webauthnService.finishLogin(authResponse);
|
||||
|
||||
userStore.setUser(user);
|
||||
|
||||
Reference in New Issue
Block a user