mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 04:02:41 +08:00
fix cannot set cookie when response is written
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user