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