domain: don't regen the ssowat conf when changing the main domain (creates an issue during postinstall)

This commit is contained in:
Alexandre Aubin 2024-01-27 15:23:22 +01:00
parent 045869283c
commit 902e65f9bc

View file

@ -597,9 +597,6 @@ def domain_main_domain(operation_logger, new_main_domain=None):
logger.warning(str(e), exc_info=1)
raise YunohostError("main_domain_change_failed")
# Generate SSOwat configuration file
app_ssowatconf()
# Regen configurations
if os.path.exists("/etc/yunohost/installed"):
regen_conf()