Moar fixes...

This commit is contained in:
Alexandre Aubin 2021-10-19 12:44:50 +02:00
parent 341059d07d
commit 9c22329e2b

View file

@ -462,9 +462,9 @@ class DomainConfigPanel(ConfigPanel):
toml = super()._get_toml() toml = super()._get_toml()
toml["feature"]["xmpp"]["xmpp"]["default"] = ( toml["feature"]["xmpp"]["xmpp"]["default"] = (
1 if self.domain == _get_maindomain() else 0 1 if self.entity == _get_maindomain() else 0
) )
toml["dns"]["registrar"] = _get_registrar_config_section(self.domain) toml["dns"]["registrar"] = _get_registrar_config_section(self.entity)
# FIXME: Ugly hack to save the registar id/value and reinject it in _load_current_values ... # FIXME: Ugly hack to save the registar id/value and reinject it in _load_current_values ...
self.registar_id = toml["dns"]["registrar"]["registrar"]["value"] self.registar_id = toml["dns"]["registrar"]["registrar"]["value"]