fix: Correct config file example section name

This commit is contained in:
Ginger committed 2026-06-16 12:50:43 -04:00
1 parent 9ef401f13e
commit 0c34700a96
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 {