diff --git a/conduwuit-example.toml b/conduwuit-example.toml index 7117ab8d8..4cf3d361a 100644 --- a/conduwuit-example.toml +++ b/conduwuit-example.toml @@ -2009,9 +2009,8 @@ # # Example: # ```ignore -# [global.registration_terms.documents.privacy_policy] -# en = { name = "Privacy Policy", url = "https://homeserver.example/en/privacy_policy.html" } -# es = { name = "Política de Privacidad", url = "https://homeserver.example/es/privacy_policy.html" } +# [global.registration_terms.documents] +# privacy_policy = { name = "Privacy Policy", url = "https://homeserver.example/en/privacy_policy.html" } # ``` # #documents = {} diff --git a/src/core/config/mod.rs b/src/core/config/mod.rs index 52fc4ae97..1eff53ab1 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -2420,9 +2420,8 @@ pub struct RegistrationTerms { /// /// Example: /// ```ignore - /// [global.registration_terms.documents.privacy_policy] - /// en = { name = "Privacy Policy", url = "https://homeserver.example/en/privacy_policy.html" } - /// es = { name = "Política de Privacidad", url = "https://homeserver.example/es/privacy_policy.html" } + /// [global.registration_terms.documents] + /// privacy_policy = { name = "Privacy Policy", url = "https://homeserver.example/en/privacy_policy.html" } /// ``` /// /// default: {}