fix(app): Add AuthPlugin to FG_PLUGINS

This commit is contained in:
Ferdinand Thiessen 2021-12-18 02:15:53 +01:00
parent ab093c04bd
commit b8f086b4dd
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ def __load_plugins(app):
app.config["FG_AUTH_BACKEND"] = plugin
else:
logger.info(f"Using plugin: {entry_point.name}")
app.config["FG_PLUGINS"][entry_point.name] = plugin
app.config["FG_PLUGINS"][entry_point.name] = plugin
else:
logger.debug(f"Skip disabled plugin {entry_point.name}")
if "FG_AUTH_BACKEND" not in app.config: