Show More
@@ -53,6 +53,11 b' def _discover_plugins(config, entry_poin' | |||
|
53 | 53 | |
|
54 | 54 | |
|
55 | 55 | def _discover_legacy_plugins(config, prefix='py:'): |
|
56 | """ | |
|
57 | Function that imports the legacy plugins stored in the 'auth_plugins' | |
|
58 | setting in database which are using the specified prefix. Normally 'py:' is | |
|
59 | used for the legacy plugins. | |
|
60 | """ | |
|
56 | 61 | auth_plugins = SettingsModel().get_setting_by_name('auth_plugins') |
|
57 | 62 | enabled_plugins = auth_plugins.app_settings_value |
|
58 | 63 | legacy_plugins = [id_ for id_ in enabled_plugins if id_.startswith(prefix)] |
General Comments 0
You need to be logged in to leave comments.
Login now