From 050315fd4253a962a5a2fa7fc69eb712bbf0ecdc Mon Sep 17 00:00:00 2001 From: horus_arch Date: Sun, 29 Mar 2015 20:52:16 +0200 Subject: Add modified mailgraph.cgi. Update style.css. Complete test suite, every function should be tested. --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 5104d6e..984446c 100644 --- a/main.go +++ b/main.go @@ -12,7 +12,8 @@ import ( var decoder = schema.NewDecoder() -var store = sessions.NewCookieStore([]byte(os.Getenv("FREEMAIL_SECRET"))) +//var store = sessions.NewCookieStore([]byte(os.Getenv("FREEMAIL_SECRET"))) +var store = sessions.NewCookieStore() 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")) -- cgit v1.2.3