This commit is contained in:
Spitap
2023-10-15 12:22:57 +02:00
committed by Antoine Nguyen
parent 6771ea0028
commit e7e5dce778
2 changed files with 5 additions and 1 deletions

View File

@@ -95,6 +95,7 @@ class Rspamd(base.Installer):
"https://rspamd.com/doc/quickstart.html#setting-the-controller-password")
_context["controller_password"] = self.app_config["password"]
else:
controller_password = controller_password.decode().replace("\n", "")
_context["controller_password"] = controller_password
_context["greylisting_disabled"] = "" if not self.app_config["greylisting"].lower() == "true" else "#"
_context["whitelist_auth_enabled"] = "" if self.app_config["whitelist_auth"].lower() == "true" else "#"