summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2017-06-10 19:16:58 -0400
committerGuillaume Horel <guillaume.horel@gmail.com>2017-06-10 19:16:58 -0400
commit3d28f3c83dabe6049d8d189c29483ed8afcd6641 (patch)
treec63e442b279239aa1fbe6b1d1e2641eff3786a3b
parent48100572e82751446199447c83755411f4bb4db6 (diff)
downloadlastfm-api-3d28f3c83dabe6049d8d189c29483ed8afcd6641.tar.gz
typo
-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{