fix: Correct config file example section name

This commit is contained in:
Ginger
2026-05-19 14:41:56 -04:00
parent e02d7c8029
commit a0aeebd237
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
Users may now be forbidden from deactivating their own accounts with the new `allow_deactivation` config option.
Users may now be forbidden from deactivating their own accounts with the new `allow_deactivation` config option. Contributed by @ginger.
+1 -1
View File
@@ -1986,7 +1986,7 @@
#
#require_email_for_token_registration = false
#[global.registration-terms]
#[global.registration_terms]
# The language code to provide to clients along with the policy documents.
#
+1 -1
View File
@@ -2360,7 +2360,7 @@ pub struct SmtpConfig {
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
#[config_example_generator(
filename = "conduwuit-example.toml",
section = "global.registration-terms",
section = "global.registration_terms",
optional = "true"
)]
pub struct RegistrationTerms {