Show More
@@ -76,8 +76,12 b' class AuthenticationPluginRegistry(objec' | |||
|
76 | 76 | plugins.append(plugin) |
|
77 | 77 | |
|
78 | 78 | # Add the fallback plugin from ini file. |
|
79 |
|
|
|
80 | if plugin is not None and plugin not in plugins: | |
|
81 | plugins.append(plugin) | |
|
79 | if self._fallback_plugin: | |
|
80 | log.warn( | |
|
81 | 'Using fallback authentication plugin from INI file: "%s"', | |
|
82 | plugin.get_id()) | |
|
83 | plugin = self.get_plugin(self._fallback_plugin) | |
|
84 | if plugin is not None and plugin not in plugins: | |
|
85 | plugins.append(plugin) | |
|
82 | 86 | |
|
83 | 87 | return plugins |
General Comments 0
You need to be logged in to leave comments.
Login now