summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.go b/main.go
index 984446c..5104d6e 100644
--- a/main.go
+++ b/main.go
@@ -12,8 +12,7 @@ import (
var decoder = schema.NewDecoder()
-//var store = sessions.NewCookieStore([]byte(os.Getenv("FREEMAIL_SECRET")))
-var store = sessions.NewCookieStore()
+var store = sessions.NewCookieStore([]byte(os.Getenv("FREEMAIL_SECRET")))
var mainTempl = template.Must(template.New("global").Funcs(template.FuncMap{"add": add}).ParseGlob("./views/*.html"))
var emailTempl = template.Must(template.New("email").Funcs(template.FuncMap{"add": add}).ParseGlob("./views/email/*.html"))