From 3d28f3c83dabe6049d8d189c29483ed8afcd6641 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Sat, 10 Jun 2017 19:16:58 -0400 Subject: typo --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index a7c9d2f..c4e5cd9 100644 --- a/main.go +++ b/main.go @@ -36,7 +36,7 @@ func New() *App { app.DB = db app.DataStore = &SqlStore{db} hashKey, err := hex.DecodeString(config.HashKey) - blockKey, err := hex.DecodeString(config.HashKey) + blockKey, err := hex.DecodeString(config.BlockKey) s := securecookie.New(hashKey, blockKey) app.CookieHandler = s fmap := template.FuncMap{ -- cgit v1.2.3-70-g09d2