Commit 97c7963f by Marcus Efraimsson

fix cannot set cookie when response is written

parent 8b3fe41b
......@@ -62,8 +62,6 @@ func GetContextHandler(ats *auth.UserAuthTokenService) macaron.Handler {
c.Map(ctx)
c.Next()
//if signed in with token
rotated, err := ats.RefreshToken(ctx.UserToken, ctx.RemoteAddr(), ctx.Req.UserAgent())
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment