context xsrf bug fixed
This commit is contained in:
		
							parent
							
								
									6362dc397a
								
							
						
					
					
						commit
						301dcfb626
					
				@ -65,6 +65,7 @@ func (ctx *Context) Reset(rw http.ResponseWriter, r *http.Request) {
 | 
				
			|||||||
	ctx.ResponseWriter.reset(rw)
 | 
						ctx.ResponseWriter.reset(rw)
 | 
				
			||||||
	ctx.Input.Reset(ctx)
 | 
						ctx.Input.Reset(ctx)
 | 
				
			||||||
	ctx.Output.Reset(ctx)
 | 
						ctx.Output.Reset(ctx)
 | 
				
			||||||
 | 
						ctx._xsrfToken = ""
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Redirect does redirection to localurl with http header status code.
 | 
					// Redirect does redirection to localurl with http header status code.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user