##// END OF EJS Templates
auth-plugins: define unsafe settings
marcink -
r1623:cfb5e8ae default
parent child
Show More
@@ -189,6 +189,7 class CrowdServer(object):
189
189
190
190
191 class RhodeCodeAuthPlugin(RhodeCodeExternalAuthPlugin):
191 class RhodeCodeAuthPlugin(RhodeCodeExternalAuthPlugin):
192 _settings_unsafe_keys = ['app_password']
192
193
193 def includeme(self, config):
194 def includeme(self, config):
194 config.add_authn_plugin(self)
195 config.add_authn_plugin(self)
@@ -334,6 +334,7 class AuthLdap(object):
334 class RhodeCodeAuthPlugin(RhodeCodeExternalAuthPlugin):
334 class RhodeCodeAuthPlugin(RhodeCodeExternalAuthPlugin):
335 # used to define dynamic binding in the
335 # used to define dynamic binding in the
336 DYNAMIC_BIND_VAR = '$login'
336 DYNAMIC_BIND_VAR = '$login'
337 _settings_unsafe_keys = ['dn_pass']
337
338
338 def includeme(self, config):
339 def includeme(self, config):
339 config.add_authn_plugin(self)
340 config.add_authn_plugin(self)
General Comments 0
You need to be logged in to leave comments. Login now