diff --git a/conduwuit-example.toml b/conduwuit-example.toml index 50575c4e3..0643ea54b 100644 --- a/conduwuit-example.toml +++ b/conduwuit-example.toml @@ -1981,9 +1981,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 a662194c3..c47b6d34b 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -2357,9 +2357,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: {}