From c0c6e95da4cde26f3c71ad8043da6a9c754f155c Mon Sep 17 00:00:00 2001
From: Saladin21 <13519187@std.stei.itb.ac.id>
Date: Tue, 12 Apr 2022 21:00:32 +0700
Subject: [PATCH] hotfix login

---
 src/views/Login.vue | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/views/Login.vue b/src/views/Login.vue
index 049e673..69d6570 100644
--- a/src/views/Login.vue
+++ b/src/views/Login.vue
@@ -108,6 +108,7 @@ export default {
         password: this.password,
       })
         .then((response) => {
+          localStorage.setItem("token", response.data.token)
           if (response.data.success) {
             this.$router.push({ name: "User" });
           }
-- 
GitLab