We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b67a023 commit a2e2045Copy full SHA for a2e2045
routers/repo/setting.go
@@ -600,7 +600,7 @@ func AddTeamPost(ctx *context.Context) {
600
}
601
602
name := utils.RemoveUsernameParameterSuffix(strings.ToLower(ctx.Query("team")))
603
- if len(name) == 0 || ctx.Repo.Owner.LowerName == name {
+ if len(name) == 0 {
604
ctx.Redirect(ctx.Repo.RepoLink + "/settings/collaboration")
605
return
606
0 commit comments