Fixing inactivity issue in builder as well #1773.

This commit is contained in:
mike12345567 2021-06-22 13:05:15 +01:00
parent 21a2632da7
commit db186a1c91
1 changed files with 2 additions and 0 deletions

View File

@ -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
} }