Add beginning of Google Auth

This commit is contained in:
2023-11-18 00:49:06 -05:00
parent f2d4ce12d4
commit 7b70c13f3f
11 changed files with 599 additions and 13 deletions

View File

@@ -18,7 +18,7 @@ export default boot(({ app, urlPath, router }) => {
// Initialize store
const authStore = useAuthStore();
authStore.init().then(() => {
authStore.currentUser && router.replace('/');
authStore.currentUser ? router.replace('/') : router.replace('login');
});
});