mirror of https://github.com/gophish/gophish
Making all cookies httponly - Fixes #333
parent
528418f16d
commit
cb70e0b953
|
@ -20,6 +20,7 @@ import (
|
||||||
func init() {
|
func init() {
|
||||||
gob.Register(&models.User{})
|
gob.Register(&models.User{})
|
||||||
gob.Register(&models.Flash{})
|
gob.Register(&models.Flash{})
|
||||||
|
Store.Options.HttpOnly = true
|
||||||
}
|
}
|
||||||
|
|
||||||
// Store contains the session information for the request
|
// Store contains the session information for the request
|
||||||
|
|
Loading…
Reference in New Issue