Skip to content

Commit

Permalink
fix session and oauth authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Mar 9, 2023
1 parent 2fb18f4 commit e5ed636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/vue/templates/src/main/webapp/app/main.ts.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ setupAxiosInterceptors(
if (status === 401) {
// Store logged out state.
store.commit('logout');
if (!url.endsWith('api/account') && !url.endsWith('api/authenticate')) {
if (!url.endsWith('api/account') && !url.endsWith('api/<% if (authenticationTypeSession) { %>authentication<% } else { %>authenticate<% } %>')) {
// Ask for a new authentication
<%_ if (authenticationTypeOauth2) { _%>
window.location.reload();
Expand Down

0 comments on commit e5ed636

Please sign in to comment.