Commit c80c0ac4 by Heechul Kim

delete cookies

parent 096be5b7
Showing with 4 additions and 1 deletions
......@@ -11,7 +11,10 @@ export default {
methods: {
logout: function () {
// delete token cookie
// this.$cookie.delete('token')
this.$cookie.delete('token')
this.$cookie.delete('refreshToken')
this.$cookie.delete('role')
this.$cookie.delete('name')
this.$store.commit('loggedIn', false)
this.$store.commit('setName', '')
this.$store.commit('setRole', '')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment