[System] Fixed plugin loading

This commit is contained in:
Ferdinand Thiessen 2021-03-14 15:11:09 +01:00
parent 1b29e602f1
commit 919a31bede
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ def __load_plugins(app):
app.config["FG_AUTH_BACKEND"] = plugin app.config["FG_AUTH_BACKEND"] = plugin
else: else:
del plugin del plugin
continue
if plugin: if plugin:
app.config["FG_PLUGINS"][entry_point.name] = plugin app.config["FG_PLUGINS"][entry_point.name] = plugin
if "FG_AUTH_BACKEND" not in app.config: if "FG_AUTH_BACKEND" not in app.config: