This is an automated email from the ASF dual-hosted git repository. humbedooh pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
commit 08a678fb05ebffc0764cfdaae7e0635d7284c8fb Author: Daniel Gruno <[email protected]> AuthorDate: Sun Mar 28 22:58:13 2021 +0200 add flag for enabling/disabling the online management api --- server/plugins/configuration.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/plugins/configuration.py b/server/plugins/configuration.py index 40f144b..eda54f3 100644 --- a/server/plugins/configuration.py +++ b/server/plugins/configuration.py @@ -19,6 +19,7 @@ class UIConfig: mailhost: str sender_domains: str traceback: bool + mgmt_enabled: bool def __init__(self, subyaml: dict): self.wordcloud = bool(subyaml.get("wordcloud", False)) @@ -29,6 +30,7 @@ class UIConfig: # Default to spitting out traceback to web clients # Set to false in yaml to redirect to stderr instead. self.traceback = subyaml.get("traceback", True) + self.mgmt_enabled = subyaml.get("mgmtconsole", False) # Whether to enable online mgmt component or not class OAuthConfig:
