mirror of https://github.com/grafana/grafana.git
				
				
				
			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