aboutsummaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
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"]