diff options
| author | horus_arch | 2015-03-29 20:57:24 +0200 |
|---|---|---|
| committer | horus_arch | 2015-03-29 20:57:24 +0200 |
| commit | 75eb1c4c535972cac5d2a91e7b79fd001767e83a (patch) | |
| tree | 533537679df141f3087b24abe04f6d7da9e03853 /main.go | |
| parent | 050315fd4253a962a5a2fa7fc69eb712bbf0ecdc (diff) | |
| download | freemail-75eb1c4c535972cac5d2a91e7b79fd001767e83a.tar.gz | |
Fix regression.
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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")) |
