summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorhorus_arch2015-03-29 20:52:16 +0200
committerhorus_arch2015-03-29 20:52:16 +0200
commit050315fd4253a962a5a2fa7fc69eb712bbf0ecdc (patch)
treee4e86aba3c27ab7749c6f97c9d1895024292eccc /main.go
parentde06b66b52c2e269bab93022f2fe46c7e02133f6 (diff)
downloadfreemail-050315fd4253a962a5a2fa7fc69eb712bbf0ecdc.tar.gz
Add modified mailgraph.cgi. Update style.css. Complete test suite, every function should be tested.
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
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"))