|
@@ -275,10 +275,10 @@ class HTPasswdPasswordIdentityProvider(IdentityProviderBase):
|
|
def __init__(self, api_version, idp):
|
|
def __init__(self, api_version, idp):
|
|
# Workaround: We used to let users specify arbitrary location of
|
|
# Workaround: We used to let users specify arbitrary location of
|
|
# htpasswd file, but now it needs to be in specific spot.
|
|
# htpasswd file, but now it needs to be in specific spot.
|
|
- idp['filename'] = '/etc/origin/master/htpasswd'
|
|
|
|
|
|
+ idp['file'] = '/etc/origin/master/htpasswd'
|
|
super(HTPasswdPasswordIdentityProvider, self).__init__(api_version, idp)
|
|
super(HTPasswdPasswordIdentityProvider, self).__init__(api_version, idp)
|
|
self._allow_additional = False
|
|
self._allow_additional = False
|
|
- self._required += [['filename']]
|
|
|
|
|
|
+ self._required += [['file']]
|
|
|
|
|
|
@staticmethod
|
|
@staticmethod
|
|
def get_default(key):
|
|
def get_default(key):
|