mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-29 16:54:53 +02:00
Fixes admin logout
This commit is contained in:
parent
a89a465ac9
commit
bb89956e9a
@ -69,7 +69,7 @@ export default {
|
||||
return {
|
||||
type: 'LOGOUT',
|
||||
payload: Promise.resolve()
|
||||
.then(() => gapi.auth2.getAuthInstance().signOut())
|
||||
.then(() => gapi && gapi.auth2 && gapi.auth2.getAuthInstance().signOut())
|
||||
.then(() => API.call({
|
||||
path: '/user/logout',
|
||||
data: {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user