diff options
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")) |
