fix: Correct config file example section name

This commit is contained in:
Ginger committed 2026-06-29 09:35:50 -04:00
1 parent d1449d6575
commit c1fc76040a
3 files changed
+3 -3

No files matched your search

+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 {