eth2-beaconchain-explorer
eth2-beaconchain-explorer copied to clipboard
(NOBIDS) Move Flashes to client cookies instead of server sessions
🤖[deprecated] Generated by Copilot at 4836951
This pull request refactors and simplifies the flash message handling in the auth and user handlers, using the utils.SetFlash
function and cookies instead of the session store. It also fixes a syntax error and adds session validation and token renewal to some auth functions for security. The changes affect the files handlers/auth.go
, handlers/user.go
, and utils/session.go
.