Fixing inactivity issue in builder as well #1773.
This commit is contained in:
parent
868d31299a
commit
dee180dc7c
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@ const apiCall =
|
||||||
})
|
})
|
||||||
if (resp.status === 403) {
|
if (resp.status === 403) {
|
||||||
removeCookie(Cookies.Auth)
|
removeCookie(Cookies.Auth)
|
||||||
|
// reload after removing cookie, go to login
|
||||||
|
location.reload()
|
||||||
}
|
}
|
||||||
return resp
|
return resp
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue