Skip to content

Commit

Permalink
Change cookie secret
Browse files Browse the repository at this point in the history
  • Loading branch information
milindl authored and Yash Srivastav committed Feb 8, 2018
1 parent 8ff26b2 commit dc306bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func main() {
utils.Randinit()

// set up session db
store := sessions.NewCookieStore([]byte("secret"))
store := sessions.NewCookieStore([]byte(config.CfgAdminPass))

// iris.Config.Gzip = true
r := gin.Default()
Expand Down

0 comments on commit dc306bc

Please sign in to comment.