diff --git a/src/main/resources/generator/client/vue/webapp/app/auth/infrastructure/secondary/KeycloakHttp.ts.mustache b/src/main/resources/generator/client/vue/webapp/app/auth/infrastructure/secondary/KeycloakHttp.ts.mustache index ae69bce783c..86f984b771c 100644 --- a/src/main/resources/generator/client/vue/webapp/app/auth/infrastructure/secondary/KeycloakHttp.ts.mustache +++ b/src/main/resources/generator/client/vue/webapp/app/auth/infrastructure/secondary/KeycloakHttp.ts.mustache @@ -21,9 +21,8 @@ export class KeycloakHttp { username: this.keycloak.tokenParsed?.preferred_username ?? '', token: this.keycloak.token ?? '', }; - } else { - return { isAuthenticated: false, username: '', token: '' }; } + return { isAuthenticated: false, username: '', token: '' }; } async login(): Promise {