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

@@ -48,7 +48,6 @@ func HandleLoginRequest(
config *config.Config,
logger *zerolog.Logger,
conn *sql.DB,
secretKey string,
) http.Handler {
return http.HandlerFunc(
func(w http.ResponseWriter, r *http.Request) {