mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Set OpenID support on by default when installing new instance (#3010)
This commit is contained in:
		
				
					committed by
					
						 Lauris BH
						Lauris BH
					
				
			
			
				
	
			
			
			
						parent
						
							b9452c48ac
						
					
				
				
					commit
					67b0d2175d
				
			| @@ -1165,7 +1165,7 @@ func newService() { | ||||
| 	Service.NoReplyAddress = sec.Key("NO_REPLY_ADDRESS").MustString("noreply.example.org") | ||||
|  | ||||
| 	sec = Cfg.Section("openid") | ||||
| 	Service.EnableOpenIDSignIn = sec.Key("ENABLE_OPENID_SIGNIN").MustBool(false) | ||||
| 	Service.EnableOpenIDSignIn = sec.Key("ENABLE_OPENID_SIGNIN").MustBool(!InstallLock) | ||||
| 	Service.EnableOpenIDSignUp = sec.Key("ENABLE_OPENID_SIGNUP").MustBool(!Service.DisableRegistration && Service.EnableOpenIDSignIn) | ||||
| 	pats := sec.Key("WHITELISTED_URIS").Strings(" ") | ||||
| 	if len(pats) != 0 { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user