mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-11 18:23:44 +00:00
e5c4e0b89a
Same pattern and same discovery method as the ResultSubmitter fix: store.PostgresSessions already implements SessionIssuer.Issue (used by steamSession() to mint sessions) as well as SessionBackend.Authenticate (used to verify them), and was already wired for the latter -- but not the former, so /v1/session/steam always 503'd with auth_unavailable even before considering whether SteamLogin (the real, still-correctly- unwired Steam blocker) was available. Wire it: same struct value, second field. Not independently visible via a black-box HTTP test yet -- SteamLogin still nil means the handler's first guard clause still 503s before ever reaching SessionIssuer, so the observable symptom is unchanged until Steam access exists. Verified by reading the handler's actual branch order, not by a test that would currently pass for the wrong reason.