Skip to content

Commit 6d3b814

Browse files
Fix ignored login on compare (go-gitea#12476) (go-gitea#12478)
Co-authored-by: Lunny Xiao <[email protected]>
1 parent 13c4c7a commit 6d3b814

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)