Update all routes to redirect users to create a profile if one does not exist
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user