cortex icon indicating copy to clipboard operation
cortex copied to clipboard

cortex-lite does not fully support its own "-unauthenticated" flag

Open khaines opened this issue 8 years ago • 0 comments

I was setting up a new machine for dev work and noticed when running cortex-lite, the unauthenticated wasn't being honored on all the api endpoints. Specifically /api/prom/push, which appears to have the middleware fixed to middleware.AuthenticateUser, vs taking the middleware set based on the command flag.

I'll submit a PR that addresses this minor issue.

khaines avatar Oct 21 '18 21:10 khaines