aboutsummaryrefslogtreecommitdiff
path: root/doc.go
diff options
context:
space:
mode:
authorMark Dain <ancarda@users.noreply.github.com>2014-01-05 14:10:22 +0400
committerMark Dain <ancarda@users.noreply.github.com>2014-01-05 14:10:22 +0400
commit6e8111651587e2cf4de2570a5d3676a2397f82ea (patch)
treeb7f6652aededae4e89ffbd3af115108af73e766a /doc.go
parenta8459038dc6d89fc6afb0e382f6ae0cf4f7d4f13 (diff)
Added trailing comma
Diffstat (limited to 'doc.go')
-rw-r--r--doc.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc.go b/doc.go
index f9f80cb..c8eb758 100644
--- a/doc.go
+++ b/doc.go
@@ -115,7 +115,8 @@ maximum age of a session to one week:
session.Options = &sessions.Options{
Path: "/",
MaxAge: 86400 * 7,
- HttpOnly: true}
+ HttpOnly: true,
+ }
Sometimes we may want to change authentication and/or encryption keys without
breaking existing sessions. The CookieStore supports key rotation, and to use