Skip to content

Commit

Permalink
Update auth.service.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcampagnolitg committed Nov 4, 2024
1 parent c30a1af commit 28ddf4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/app/core/auth/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@ export class AuthService {
return of(true);
}

if (environment.auth === 'google_iap') {
if (environment.auth === 'google_iap' || environment.auth === 'single_user') {
return of(true);
}

// For non-IAP auth modes
// For non-IAP/single-user auth modes
if (!this.accessToken || AuthUtils.isTokenExpired(this.accessToken)) {
return of(false);
}
Expand Down

0 comments on commit 28ddf4c

Please sign in to comment.