httpOnly cookie

This commit is contained in:
Umputun
2018-01-04 13:06:30 -06:00
parent 28741cb245
commit 230e06148e
+1
View File
@@ -82,6 +82,7 @@ func main() {
dataService := store.Service{Interface: dataStore, EditDuration: 5 * time.Minute}
sessionStore := sessions.NewFilesystemStore(opts.ServerCommand.SessionStore, []byte(opts.ServerCommand.StoreKey))
sessionStore.Options.HttpOnly = true
exporter := migrator.Remark{DataStore: dataStore}
srv := rest.Server{