diff options
| author | Pitu <[email protected]> | 2019-03-29 03:27:52 +0000 |
|---|---|---|
| committer | Pitu <[email protected]> | 2019-03-29 03:27:52 +0000 |
| commit | c4d803c4f6fec98bed6bec3680e5a28963c27488 (patch) | |
| tree | cff0e0ee8622e86fea5b72be198108ab2b150af4 | |
| parent | Fix conflicts (diff) | |
| download | host.fuwn.me-c4d803c4f6fec98bed6bec3680e5a28963c27488.tar.xz host.fuwn.me-c4d803c4f6fec98bed6bec3680e5a28963c27488.zip | |
Make sure to remove the token to prevent credential leak
| -rw-r--r-- | src/site/store/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/site/store/index.js b/src/site/store/index.js index a4a0d51..a9380b7 100644 --- a/src/site/store/index.js +++ b/src/site/store/index.js @@ -70,6 +70,7 @@ export const actions = { } commit('token', token); if (!token) { + app.$axios.setToken(''); commit('user', null); commit('loggedIn', false); } |