Set token cookies on user login
This commit is contained in:
@@ -30,6 +30,7 @@ func addRoutes(
|
||||
// Login page and handlers
|
||||
mux.Handle("GET /login", handlers.HandleLoginPage(config.TrustedHost))
|
||||
mux.Handle("POST /login", handlers.HandleLoginRequest(
|
||||
config,
|
||||
logger,
|
||||
conn,
|
||||
config.SecretKey,
|
||||
|
||||
Reference in New Issue
Block a user