diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2016-05-18 23:08:31 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2016-05-18 23:08:31 +0100 |
commit | e74f5b423e514560d5a7bcca480c3c901bfae54e (patch) | |
tree | 6368cc8ed96bb3e42df618b4f8e5be29fa6a3823 /server | |
parent | 748ae6cf5a681588ca370a92c1a0e42a987d79d5 (diff) |
misc
Diffstat (limited to 'server')
-rw-r--r-- | server/main.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/main.go b/server/main.go index 402b321..bc460da 100644 --- a/server/main.go +++ b/server/main.go @@ -138,7 +138,6 @@ func callbackHandler(a *appContext, w http.ResponseWriter, r *http.Request) (int if a.authsession.Token.Expiry.Unix() <= 0 { a.authsession.Token.Expiry = time.Now().Add(1 * time.Hour) } - fmt.Println(a.authsession.Token) a.setAuthCookie(w, r, a.authsession.Token) http.Redirect(w, r, "/", http.StatusFound) return http.StatusFound, nil |