mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	Fix ignored login on compare (#12476)
This commit is contained in:
		@@ -713,7 +713,7 @@ func RegisterRoutes(m *macaron.Macaron) {
 | 
			
		||||
			m.Get("/:id", repo.MilestoneIssuesAndPulls)
 | 
			
		||||
		}, reqRepoIssuesOrPullsReader, context.RepoRef())
 | 
			
		||||
		m.Combo("/compare/*", repo.MustBeNotEmpty, reqRepoCodeReader, repo.SetEditorconfigIfExists).
 | 
			
		||||
			Get(repo.SetDiffViewStyle, repo.CompareDiff).
 | 
			
		||||
			Get(ignSignIn, repo.SetDiffViewStyle, repo.CompareDiff).
 | 
			
		||||
			Post(reqSignIn, context.RepoMustNotBeArchived(), reqRepoPullsReader, repo.MustAllowPulls, bindIgnErr(auth.CreateIssueForm{}), repo.CompareAndPullRequestPost)
 | 
			
		||||
	}, context.RepoAssignment(), context.UnitTypes())
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user