mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Add weibo oauth
This commit is contained in:
		@@ -153,6 +153,12 @@ func Config(ctx *middleware.Context) {
 | 
			
		||||
		ctx.Data["Mailer"] = base.MailService
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	ctx.Data["OauthEnabled"] = false
 | 
			
		||||
	if base.OauthService != nil {
 | 
			
		||||
		ctx.Data["OauthEnabled"] = true
 | 
			
		||||
		ctx.Data["Oauther"] = base.OauthService
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	ctx.Data["CacheAdapter"] = base.CacheAdapter
 | 
			
		||||
	ctx.Data["CacheConfig"] = base.CacheConfig
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user