diff --git a/src/views/LoginView.vue b/src/views/LoginView.vue index 7572c9a1d41d64d7e86a5b262ee8c4a3f3f2fc27..2a0b5b48cf99b00c92a1956c4965c477c7c1c63b 100644 --- a/src/views/LoginView.vue +++ b/src/views/LoginView.vue @@ -1,7 +1,6 @@ <script> import { API } from '@/util/API.js'; import router from '@/router/index.js'; - import {useAuthStore} from "@/stores/authStore"; export default { data() { @@ -12,12 +11,8 @@ errormsg: "", } }, - created(){ - useAuthStore().logout(); - }, methods: { login() { - //todo: implement when API is up API.login({email: this.email, password: this.password}).then(() => { router.push("/selectProfile"); })