Skip to content

Commit

Permalink
feat(console): client-side session managment for webauthn
Browse files Browse the repository at this point in the history
  • Loading branch information
xmlking committed Jun 27, 2024
1 parent b1db9ee commit aff4a0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/console/src/lib/stores/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const nhost = new NhostClient({
graphqlUrl: env.PUBLIC_NHOST_GRAPHQL_URL,
storageUrl: env.PUBLIC_NHOST_STORAGE_URL,
functionsUrl: env.PUBLIC_NHOST_FUNCTIONS_URL,
start: browser
start: browser,
});

/**
Expand Down
4 changes: 2 additions & 2 deletions apps/console/src/routes/(auth)/signin/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ async function waSignin() {
goto('/dashboard');
handleMessage({ type: 'success', message: 'Signin sucessfull 😎' } as const, toastStore);
} else {
log.error(signInError);
handleMessage({ type: 'error', message: `Signin failed: ${signInError?.message}` } as const, toastStore);
log.error(signInError);
handleMessage({ type: 'error', message: `Signin failed: ${signInError?.message}` } as const, toastStore);
}
}
}
Expand Down

0 comments on commit aff4a0f

Please sign in to comment.