1
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
axios.post('login', this.user)
|
||||
.then(data => {
|
||||
localStorage.setItem("username", this.user.name);
|
||||
localStorage.setItem("token", data.token);
|
||||
location.href = "/admin";
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user