Skip to content
Snippets Groups Projects
Commit 877cc8a5 authored by Sondre Malerud's avatar Sondre Malerud
Browse files

Fjerna logg-ut i created

parent 209726ad
No related branches found
No related tags found
1 merge request!21Merge profilinnstillinger into main
Pipeline #225301 failed
<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");
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment