mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 03:02:14 +01:00 
			
		
		
		
	Fix oauth setting list bug (#19682)
This commit is contained in:
		
							parent
							
								
									f41c2bec4c
								
							
						
					
					
						commit
						ea38e90e6b
					
				| @ -112,7 +112,7 @@ func NewAuthSource(ctx *context.Context) { | ||||
| 	ctx.Data["SSPIDefaultLanguage"] = "" | ||||
| 
 | ||||
| 	// only the first as default | ||||
| 	ctx.Data["oauth2_provider"] = oauth2providers[0].Name | ||||
| 	ctx.Data["oauth2_provider"] = oauth2providers[0].Name() | ||||
| 
 | ||||
| 	ctx.HTML(http.StatusOK, tplAuthNew) | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user