diff --git a/packages/cli/src/middlewares/auth.ts b/packages/cli/src/middlewares/auth.ts index 539b05a12d..4cff1e84b2 100644 --- a/packages/cli/src/middlewares/auth.ts +++ b/packages/cli/src/middlewares/auth.ts @@ -126,11 +126,7 @@ export const setupAuthMiddlewares = ( `/${restEndpoint}/ldap/sync`, `/${restEndpoint}/ldap/test-connection`, ]; - const getRestrictedUrls = [ - `/${restEndpoint}/users`, - `/${restEndpoint}/ldap/sync`, - `/${restEndpoint}/ldap/config`, - ]; + const getRestrictedUrls = [`/${restEndpoint}/ldap/sync`, `/${restEndpoint}/ldap/config`]; const putRestrictedUrls = [`/${restEndpoint}/ldap/config`]; const trimmedUrl = req.url.endsWith('/') ? req.url.slice(0, -1) : req.url; if (