Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
jijisa
/
porch
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c80c0ac4
authored
Feb 27, 2017
by
Heechul Kim
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
delete cookies
parent
096be5b7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
quasar/src/components/Logout.vue
quasar/src/components/Logout.vue
View file @
c80c0ac4
...
@@ -11,7 +11,10 @@ export default {
...
@@ -11,7 +11,10 @@ export default {
methods
:
{
methods
:
{
logout
:
function
()
{
logout
:
function
()
{
// delete token cookie
// 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
(
'loggedIn'
,
false
)
this
.
$store
.
commit
(
'setName'
,
''
)
this
.
$store
.
commit
(
'setName'
,
''
)
this
.
$store
.
commit
(
'setRole'
,
''
)
this
.
$store
.
commit
(
'setRole'
,
''
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment