fix(admin): show the deferred phone gate controls on hosted instances (#1712)

This commit is contained in:
Hampus
2026-08-18 05:49:33 +02:00
committed by GitHub
parent 871b5116dc
commit e87e2fe7bf
@@ -103,6 +103,7 @@ pub fn instance_config_page(
instance_config.self_hosted,
))
(sso_config_section(base, csrf_token, &instance_config.sso))
(deferred_phone_gate_form(base, csrf_token, &instance_config.policy))
},
))
@if instance_config.self_hosted {
@@ -191,7 +192,6 @@ fn policy_config_section(base: &str, csrf_token: &str, policy: &InstancePolicyRe
(single_community_form(base, csrf_token, policy))
(direct_messages_form(base, csrf_token, policy))
(premium_mode_form(base, csrf_token, policy))
(deferred_phone_gate_form(base, csrf_token, policy))
(services_form(base, csrf_token, policy))
}
},