Added rspamd dashboard info
This commit is contained in:
4
run.py
4
run.py
@@ -246,6 +246,10 @@ def main(input_args):
|
|||||||
"Congratulations! You can enjoy Modoboa at https://{} (admin:password)"
|
"Congratulations! You can enjoy Modoboa at https://{} (admin:password)"
|
||||||
.format(config.get("general", "hostname"))
|
.format(config.get("general", "hostname"))
|
||||||
)
|
)
|
||||||
|
if config.get("rspamd", "enabled"):
|
||||||
|
utils.success(
|
||||||
|
f"You can also enjoy rspamd at https://{config.get("general", "hostname")} ({config.get("rspamd", "password")})"
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
utils.success(
|
utils.success(
|
||||||
"Restore complete! You can enjoy Modoboa at https://{} (same credentials as before)"
|
"Restore complete! You can enjoy Modoboa at https://{} (same credentials as before)"
|
||||||
|
|||||||
Reference in New Issue
Block a user