mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
update cookiestore
This commit is contained in:
parent
5a0587c3ce
commit
126b13fcea
@ -79,7 +79,7 @@ func (s SiteConfig) sessionStore() sessions.Store {
|
|||||||
}
|
}
|
||||||
keys = append(keys, key)
|
keys = append(keys, key)
|
||||||
}
|
}
|
||||||
return sessions.NewCookieStore(keys...)
|
return sessions.NewStore(keys...)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s SiteConfig) Handle(rw http.ResponseWriter, r *http.Request) {
|
func (s SiteConfig) Handle(rw http.ResponseWriter, r *http.Request) {
|
||||||
|
Loading…
Reference in New Issue
Block a user