mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix oauth setting list bug (#19682)
This commit is contained in:
		@@ -112,7 +112,7 @@ func NewAuthSource(ctx *context.Context) {
 | 
				
			|||||||
	ctx.Data["SSPIDefaultLanguage"] = ""
 | 
						ctx.Data["SSPIDefaultLanguage"] = ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// only the first as default
 | 
						// only the first as default
 | 
				
			||||||
	ctx.Data["oauth2_provider"] = oauth2providers[0].Name
 | 
						ctx.Data["oauth2_provider"] = oauth2providers[0].Name()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	ctx.HTML(http.StatusOK, tplAuthNew)
 | 
						ctx.HTML(http.StatusOK, tplAuthNew)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user