浏览代码

Fix github auth validation

This commit ensures github auth validation filter works
as intended.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1444367
Michael Gugino 7 年之前
父节点
当前提交
6790200467
共有 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):