Skip to content

Commit

Permalink
Force a page refresh for non basic auth providers (#2733)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgliss authored Nov 30, 2022
1 parent 7251bf9 commit 2cdb5b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dispatch/static/dispatch/src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ instance.interceptors.response.use(
if (err.response.status == 401) {
if (authProviderSlug === "dispatch-auth-provider-basic") {
router.push({ name: "BasicLogin" })
} else {
router.go()
}
}

Expand Down

0 comments on commit 2cdb5b3

Please sign in to comment.