diff --git a/core/src/enterprise/api.ts b/core/src/enterprise/api.ts index 997490c56e..1243c531cf 100644 --- a/core/src/enterprise/api.ts +++ b/core/src/enterprise/api.ts @@ -71,7 +71,7 @@ export class EnterpriseApi { } this.enterpriseDomain = enterpriseDomain const authToken = await this.readAuthToken() - if (authToken && !gardenEnv.GARDEN_AUTH_TOKEN && commandAllowed) { + if (authToken && commandAllowed) { this.log.debug({ msg: `Refreshing auth token and starting refresh interval.` }) const tokenIsValid = await this.checkClientAuthToken(this.log) if (!tokenIsValid) {