diff --git a/conduwuit-example.toml b/conduwuit-example.toml index 993434f3c..b5e8519b9 100644 --- a/conduwuit-example.toml +++ b/conduwuit-example.toml @@ -1997,9 +1997,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 cf298ecdb..ed0d12647 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -2372,9 +2372,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: {}