Skip to content

Commit 4e1c7cc

Browse files
authored
Fix ignored login on compare (#12476)
1 parent c18b052 commit 4e1c7cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/routes/routes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ func RegisterRoutes(m *macaron.Macaron) {
713713
m.Get("/:id", repo.MilestoneIssuesAndPulls)
714714
}, reqRepoIssuesOrPullsReader, context.RepoRef())
715715
m.Combo("/compare/*", repo.MustBeNotEmpty, reqRepoCodeReader, repo.SetEditorconfigIfExists).
716-
Get(repo.SetDiffViewStyle, repo.CompareDiff).
716+
Get(ignSignIn, repo.SetDiffViewStyle, repo.CompareDiff).
717717
Post(reqSignIn, context.RepoMustNotBeArchived(), reqRepoPullsReader, repo.MustAllowPulls, bindIgnErr(auth.CreateIssueForm{}), repo.CompareAndPullRequestPost)
718718
}, context.RepoAssignment(), context.UnitTypes())
719719

0 commit comments

Comments
 (0)