summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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{