2 Dev Login
Nate edited this page 2026-11-21 20:21:39 -08:00

Dev Login

The dev build (cmd/evesynapse-dev, make build-dev) registers /dev-login when started with DEV_LOGIN=1: it flips the session to signed-in without EVE SSO so the signed-in pages can be exercised locally (it is never an admin: the dev session has no account). The handler lives in internal/devtools and is only wired into the dev entrypoint: the release binary (cmd/evesynapse) doesn't contain the code, and DEV_LOGIN=1 has no effect on it. /dev-login hands a session to anyone who asks: never enable it on a deployment anyone else can reach, and never deploy the dev build. The dev server logs a loud warning at boot when it is on.