diff --git a/src/main/resources/generator/client/angular/security/jwt/src/main/webapp/app/auth/account.service.ts.mustache b/src/main/resources/generator/client/angular/security/jwt/src/main/webapp/app/auth/account.service.ts.mustache index 4c8bb4cd914..bfda65e2ff0 100644 --- a/src/main/resources/generator/client/angular/security/jwt/src/main/webapp/app/auth/account.service.ts.mustache +++ b/src/main/resources/generator/client/angular/security/jwt/src/main/webapp/app/auth/account.service.ts.mustache @@ -31,7 +31,7 @@ export class AccountService { return this.userIdentity.authorities.some((authority: string) => authorities.includes(authority)); } - identity(force?: boolean): Observable { + identity(force = false): Observable { if (!this.accountCache$ || force) { this.accountCache$ = this.fetch().pipe( tap((account: Account) => {