Add beginning of Google Auth
This commit is contained in:
@@ -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');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user