Skip to content

Commit a2e2045

Browse files
davidsvantessonsapk
authored andcommitted
Fix #9662 (#9783)
1 parent b67a023 commit a2e2045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/repo/setting.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ func AddTeamPost(ctx *context.Context) {
600600
}
601601

602602
name := utils.RemoveUsernameParameterSuffix(strings.ToLower(ctx.Query("team")))
603-
if len(name) == 0 || ctx.Repo.Owner.LowerName == name {
603+
if len(name) == 0 {
604604
ctx.Redirect(ctx.Repo.RepoLink + "/settings/collaboration")
605605
return
606606
}

0 commit comments

Comments
 (0)