Skip to content

Commit e5ed636

Browse files
committed
fix session and oauth authentication
1 parent 2fb18f4 commit e5ed636

File tree

1 file changed

+1
-1
lines changed
  • generators/vue/templates/src/main/webapp/app

1 file changed

+1
-1
lines changed

generators/vue/templates/src/main/webapp/app/main.ts.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ setupAxiosInterceptors(
114114
if (status === 401) {
115115
// Store logged out state.
116116
store.commit('logout');
117-
if (!url.endsWith('api/account') && !url.endsWith('api/authenticate')) {
117+
if (!url.endsWith('api/account') && !url.endsWith('api/<% if (authenticationTypeSession) { %>authentication<% } else { %>authenticate<% } %>')) {
118118
// Ask for a new authentication
119119
<%_ if (authenticationTypeOauth2) { _%>
120120
window.location.reload();

0 commit comments

Comments
 (0)