cortex
cortex copied to clipboard
cortex-lite does not fully support its own "-unauthenticated" flag
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.