Update all routes to redirect users to create a profile if one does not exist

This commit is contained in:
NeilClack
2026-02-24 08:17:37 -06:00
parent 3c201f9b66
commit b8d1ba11e7
5 changed files with 15 additions and 21 deletions
+2 -2
View File
@@ -18,7 +18,7 @@
return;
}
window.location.href = '/';
window.location.href = '/account';
}
</script>
@@ -41,7 +41,7 @@
<button
onclick={async () => {
console.log('signing in with google');
authClient.signIn.social({ provider: 'google' });
authClient.signIn.social({ provider: 'google', callbackURL: '/account' });
}}
>
<img src="light/web_light_sq_SI.svg" alt="Sign In with Google" />