|
@ -52,7 +52,7 @@ func (session *Session) GenerateID() error { |
|
|
|
|
|
|
|
|
// Cookie gets a cookie that could be used to restore this session.
|
|
|
// Cookie gets a cookie that could be used to restore this session.
|
|
|
func (session *Session) Cookie() *http.Cookie { |
|
|
func (session *Session) Cookie() *http.Cookie { |
|
|
return http.Cookie{ |
|
|
|
|
|
|
|
|
return &http.Cookie{ |
|
|
Name: "lucifer_session", |
|
|
Name: "lucifer_session", |
|
|
Value: session.ID, |
|
|
Value: session.ID, |
|
|
Path: "/", |
|
|
Path: "/", |
|
|