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