eth2-beaconchain-explorer icon indicating copy to clipboard operation
eth2-beaconchain-explorer copied to clipboard

(NOBIDS) Move Flashes to client cookies instead of server sessions

Open manuelsc opened this issue 8 months ago • 0 comments

🤖[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.

manuelsc avatar Dec 11 '23 16:12 manuelsc