mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 19:45:25 +01:00 
			
		
		
		
	
							parent
							
								
									3ac79b7101
								
							
						
					
					
						commit
						f162a32604
					
				| @ -581,7 +581,7 @@ func AddTeamPost(ctx *context.Context) { | ||||
| 	} | ||||
| 
 | ||||
| 	name := utils.RemoveUsernameParameterSuffix(strings.ToLower(ctx.Query("team"))) | ||||
| 	if len(name) == 0 || ctx.Repo.Owner.LowerName == name { | ||||
| 	if len(name) == 0 { | ||||
| 		ctx.Redirect(ctx.Repo.RepoLink + "/settings/collaboration") | ||||
| 		return | ||||
| 	} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user