mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION (#1369)
* Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION Omit the configuration variable (the default) to be dependent. Fixes #1363 * Move OpenID settings under Service object * Show OpenID SignUp and SignIn status in admin panel / configuration
This commit is contained in:
		
				
					committed by
					
						
						Bo-Yi Wu
					
				
			
			
				
	
			
			
			
						parent
						
							08f7fded3c
						
					
				
				
					commit
					129b0d6a4b
				
			@@ -197,7 +197,7 @@ func Contexter() macaron.Handler {
 | 
			
		||||
		ctx.Data["ShowRegistrationButton"] = setting.Service.ShowRegistrationButton
 | 
			
		||||
		ctx.Data["ShowFooterBranding"] = setting.ShowFooterBranding
 | 
			
		||||
		ctx.Data["ShowFooterVersion"] = setting.ShowFooterVersion
 | 
			
		||||
		ctx.Data["EnableOpenIDSignIn"] = setting.EnableOpenIDSignIn
 | 
			
		||||
		ctx.Data["EnableOpenIDSignIn"] = setting.Service.EnableOpenIDSignIn
 | 
			
		||||
 | 
			
		||||
		c.Map(ctx)
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user