##// END OF EJS Templates
authn: Log a warning message if fallback authentication plugin is enabled in ini file.
johbo -
r105:ad394628 default
parent child Browse files
Show More
@@ -76,8 +76,12 b' class AuthenticationPluginRegistry(objec'
76 plugins.append(plugin)
76 plugins.append(plugin)
77
77
78 # Add the fallback plugin from ini file.
78 # Add the fallback plugin from ini file.
79 plugin = self.get_plugin(self._fallback_plugin)
79 if self._fallback_plugin:
80 if plugin is not None and plugin not in plugins:
80 log.warn(
81 plugins.append(plugin)
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 return plugins
87 return plugins
General Comments 0
You need to be logged in to leave comments. Login now