mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 17:24:22 +00:00 
			
		
		
		
	work on #754
This commit is contained in:
		@@ -105,6 +105,9 @@ func Dashboard(ctx *middleware.Context) {
 | 
			
		||||
		// FIXME: cache results?
 | 
			
		||||
		u, err := models.GetUserByName(act.ActUserName)
 | 
			
		||||
		if err != nil {
 | 
			
		||||
			if err == models.ErrUserNotExist {
 | 
			
		||||
				continue
 | 
			
		||||
			}
 | 
			
		||||
			ctx.Handle(500, "GetUserByName", err)
 | 
			
		||||
			return
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user