mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
chore(core): remove token limit dev feature guard (#6908)
remove token limit dev feature guard
This commit is contained in:
parent
513d18e4db
commit
f02d8cb5ba
1 changed files with 1 additions and 3 deletions
|
@ -418,9 +418,7 @@ export default function initOidc(
|
|||
oidc.use(koaAppSecretTranspilation(queries));
|
||||
oidc.use(koaBodyEtag());
|
||||
|
||||
// TODO: Remove the devFeature guard when the implementation is stable
|
||||
// Only enabled in the cloud environment
|
||||
if (EnvSet.values.isDevFeaturesEnabled && EnvSet.values.isCloud) {
|
||||
if (EnvSet.values.isCloud) {
|
||||
oidc.use(koaTokenUsageGuard(subscription));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue