Skip to content

Commit

Permalink
Removed revoke original request after refresh token
Browse files Browse the repository at this point in the history
  • Loading branch information
junzai97 committed Mar 13, 2021
1 parent 5513994 commit dc31d2b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/webapp/app/config/axios-interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ function setupAxiosInterceptors(onUnauthenticated: () => Promise<void>) {
const status = err.status || (err.response ? err.response.status : 0);
if (status === 401) {
await onUnauthenticated();
await axios.request(err.config);
return;
}
Promise.reject(err);
Expand Down

0 comments on commit dc31d2b

Please sign in to comment.