mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Clean oauth code
This commit is contained in:
		@@ -82,7 +82,8 @@ func (ctx *Context) HasError() bool {
 | 
			
		||||
	if !ok {
 | 
			
		||||
		return false
 | 
			
		||||
	}
 | 
			
		||||
	ctx.Flash.Error(ctx.Data["ErrorMsg"].(string))
 | 
			
		||||
	ctx.Flash.ErrorMsg = ctx.Data["ErrorMsg"].(string)
 | 
			
		||||
	ctx.Data["Flash"] = ctx.Flash
 | 
			
		||||
	return hasErr.(bool)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user