mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 21:32:18 +00:00
The assertion compared the cookie to the new session row's id, which only held while the id WAS the cookie. Check the stored hash instead: it proves the cookie authenticates the surviving row and that the row id never reaches the client.