Set session cookie name
This commit is contained in:
parent
a590c96d0b
commit
200942b2a2
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user