0
Fork 0
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:
simeng-li 2024-12-26 10:38:42 +08:00 committed by GitHub
parent 513d18e4db
commit f02d8cb5ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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));
}