Show More
@@ -290,6 +290,9 b' instance_id =' | |||
|
290 | 290 | ## egg:rhodecode-enterprise-ce#crowd |
|
291 | 291 | #rhodecode.auth_plugin_fallback = egg:rhodecode-enterprise-ce#rhodecode |
|
292 | 292 | |
|
293 | ## Flag to control loading of legacy plugins in py:/path format | |
|
294 | auth_plugin.import_legacy_plugins = true | |
|
295 | ||
|
293 | 296 | ## alternative return HTTP header for failed authentication. Default HTTP |
|
294 | 297 | ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with |
|
295 | 298 | ## handling that causing a series of failed authentication calls. |
@@ -265,6 +265,9 b' instance_id =' | |||
|
265 | 265 | ## egg:rhodecode-enterprise-ce#crowd |
|
266 | 266 | #rhodecode.auth_plugin_fallback = egg:rhodecode-enterprise-ce#rhodecode |
|
267 | 267 | |
|
268 | ## Flag to control loading of legacy plugins in py:/path format | |
|
269 | auth_plugin.import_legacy_plugins = true | |
|
270 | ||
|
268 | 271 | ## alternative return HTTP header for failed authentication. Default HTTP |
|
269 | 272 | ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with |
|
270 | 273 | ## handling that causing a series of failed authentication calls. |
@@ -266,7 +266,6 b' def includeme(config):' | |||
|
266 | 266 | config.include('rhodecode.integrations') |
|
267 | 267 | |
|
268 | 268 | if load_all: |
|
269 | from rhodecode.authentication import discover_legacy_plugins | |
|
270 | 269 | # load CE authentication plugins |
|
271 | 270 | config.include('rhodecode.authentication.plugins.auth_crowd') |
|
272 | 271 | config.include('rhodecode.authentication.plugins.auth_headers') |
@@ -277,7 +276,9 b' def includeme(config):' | |||
|
277 | 276 | config.include('rhodecode.authentication.plugins.auth_token') |
|
278 | 277 | |
|
279 | 278 | # Auto discover authentication plugins and include their configuration. |
|
280 | discover_legacy_plugins(config) | |
|
279 | if asbool(settings.get('auth_plugin.import_legacy_plugins', 'true')): | |
|
280 | from rhodecode.authentication import discover_legacy_plugins | |
|
281 | discover_legacy_plugins(config) | |
|
281 | 282 | |
|
282 | 283 | # apps |
|
283 | 284 | if load_all: |
General Comments 0
You need to be logged in to leave comments.
Login now