1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

update cookiestore

This commit is contained in:
Zack Scholl 2018-08-21 19:36:24 -07:00
parent 5a0587c3ce
commit 126b13fcea

View File

@ -79,7 +79,7 @@ func (s SiteConfig) sessionStore() sessions.Store {
}
keys = append(keys, key)
}
return sessions.NewCookieStore(keys...)
return sessions.NewStore(keys...)
}
func (s SiteConfig) Handle(rw http.ResponseWriter, r *http.Request) {