diff --git a/changelog.d/+7865cde6.feature.md b/changelog.d/+7865cde6.feature.md index 03f6699a1..1819078a2 100644 --- a/changelog.d/+7865cde6.feature.md +++ b/changelog.d/+7865cde6.feature.md @@ -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. diff --git a/conduwuit-example.toml b/conduwuit-example.toml index b5e8519b9..be9b402c0 100644 --- a/conduwuit-example.toml +++ b/conduwuit-example.toml @@ -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. # diff --git a/src/core/config/mod.rs b/src/core/config/mod.rs index e6200fda8..f3b2a1d5f 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -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 {