Fixed merge

This commit is contained in:
Dominic Villemure
2024-04-01 01:00:12 -04:00
17 changed files with 169 additions and 164 deletions

View File

@@ -67,18 +67,18 @@
</template>
<script setup>
import { useAuthStore } from '@/plugins/store/authStore';
import { auth } from '@/stores/auth.js';
import { useRouter } from 'vue-router';
const authStore = useAuthStore();
const store = auth();
const router = useRouter();
const logout = () => {
authStore.logout();
store.logout();
router.push('/login');
}
const user = authStore.user;
const user = store.user;
</script>