Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
scc-net
netvs
netvs-core
Commits
7075806c
Commit
7075806c
authored
Jul 01, 2020
by
janis.streib
🦉
Browse files
FIX: logout for SimpleKITUsers
parent
a8bbd23b
Pipeline
#94804
passed with stages
in 6 minutes and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/components/Navbar.vue
View file @
7075806c
...
...
@@ -87,7 +87,12 @@
},
methods
:
{
async
logout
()
{
await
LoginService
.
logout
(
this
.
$store
.
state
.
token
.
pk
)
if
(
this
.
$store
.
token
==
null
)
{
await
LoginService
.
logout
(
null
)
}
else
{
await
LoginService
.
logout
(
this
.
$store
.
state
.
token
.
pk
||
null
)
}
this
.
$store
.
commit
(
'
logout
'
)
await
this
.
$router
.
push
(
'
/login
'
)
},
...
...
@@ -145,4 +150,4 @@
.search-button
{
z-index
:
1
;
}
</
style
>
\ No newline at end of file
</
style
>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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