aboutsummaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorOlivier Tharan <olivier@tharan.org>2016-04-22 09:35:53 +0200
committerOlivier Tharan <olivier@tharan.org>2016-04-22 09:35:53 +0200
commitff3f98a36705c965736b8332a74d5be13b33cc9a (patch)
treedaf7459d817f6a39a774dc480d2e8511af7e0eb3 /server
parent56526c76b563d004f07fe0c538fff626929067de (diff)
Fix typo in comment.
Diffstat (limited to 'server')
-rw-r--r--server/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/main.go b/server/main.go
index c5865de..3a20460 100644
--- a/server/main.go
+++ b/server/main.go
@@ -40,7 +40,7 @@ type appContext struct {
jwtSigningKey []byte
}
-// getAuthCookie retrieves a the cookie from the request and validates it.
+// getAuthCookie retrieves a cookie from the request and validates it.
func (a *appContext) getAuthCookie(r *http.Request) *oauth2.Token {
session, _ := a.cookiestore.Get(r, "tok")
t, ok := session.Values["token"]