瀏覽代碼

Merge pull request #5988 from mgugino-upstream-stage/github-auth-fix

Fix github auth validation
Scott Dodson 7 年之前
父節點
當前提交
d3301fb655
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      roles/openshift_master_facts/filter_plugins/openshift_master.py

+ 2 - 4
roles/openshift_master_facts/filter_plugins/openshift_master.py

@@ -326,10 +326,8 @@ class IdentityProviderOauthBase(IdentityProviderBase):
         self._required += [['clientID', 'client_id'], ['clientSecret', 'client_secret']]
 
     def validate(self):
-        ''' validate this idp instance '''
-        if self.challenge:
-            raise errors.AnsibleFilterError("|failed provider {0} does not "
-                                            "allow challenge authentication".format(self.__class__.__name__))
+        ''' validate an instance of this idp class '''
+        pass
 
 
 class OpenIDIdentityProvider(IdentityProviderOauthBase):