fix: default to 1 day for session freshness

This commit is contained in:
Bereket Engida
2024-12-23 15:43:36 +03:00
parent a9b7c74c61
commit 59c1e5a48a
5 changed files with 38 additions and 3 deletions

View File

@@ -272,9 +272,12 @@ export default function SignIn() {
onClick={async () => {
await signIn.passkey({
fetchOptions: {
onResponse(context) {
onSuccess(context) {
router.push("/dashboard");
},
onError(context) {
toast.error(context.error.message);
},
},
});
}}