Set session cookie name

This commit is contained in:
Maximilian 2022-10-22 12:23:34 -05:00
parent a590c96d0b
commit 200942b2a2

View File

@ -134,7 +134,7 @@ func createSessionCookie(app *app.App, w http.ResponseWriter, username string) (
// Create session cookie, containing token
cookie := &http.Cookie{
Name: "",
Name: "session",
Value: token,
Path: "/",
MaxAge: 86400,