feature/migrations, closes #19 #20
|
@ -23,7 +23,7 @@ __required_plugins = ["users", "roles", "scheduler", "auth"]
|
||||||
|
|
||||||
|
|
||||||
def get_authentication_provider():
|
def get_authentication_provider():
|
||||||
return [plugin for plugin in get_loaded_plugins().values() if isinstance(plugin, AuthPlugin)]
|
return [current_app.config["FG_PLUGINS"][plugin.name] for plugin in get_loaded_plugins().values() if isinstance(plugin, AuthPlugin)]
|
||||||
|
|
||||||
|
|
||||||
def get_loaded_plugins(plugin_name: str = None):
|
def get_loaded_plugins(plugin_name: str = None):
|
||||||
|
|
Loading…
Reference in New Issue