[System] Fixed plugin loading
This commit is contained in:
parent
1b29e602f1
commit
919a31bede
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue