Added logout functionality and client error message for 500 status codes

This commit is contained in:
2025-02-14 17:36:07 +11:00
parent eff06c0da6
commit 5c8bec0ad2
9 changed files with 168 additions and 8 deletions

View File

@@ -36,8 +36,9 @@ func addRoutes(
config,
logger,
conn,
config.SecretKey,
))
// Logout
mux.Handle("POST /logout", handlers.HandleLogout(config, logger, conn))
// Profile page
}