mirror of
https://github.com/grafana/grafana.git
synced 2024-11-27 11:20:27 -06:00
fix cannot set cookie when response is written
This commit is contained in:
parent
8b3fe41b0a
commit
97c7963f17
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user