fix: Set default value of allow_registration to true

This commit is contained in:
Ginger
2026-02-15 11:41:08 -05:00
committed by Ellis Git
parent f322b6dca0
commit 576348a445
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -433,7 +433,7 @@
# If you would like registration only via token reg, please configure
# `registration_token`.
#
#allow_registration = false
#allow_registration = true
# If registration is enabled, and this setting is true, new users
# registered after the first admin user will be automatically suspended
+1 -1
View File
@@ -559,7 +559,7 @@ pub struct Config {
///
/// If you would like registration only via token reg, please configure
/// `registration_token`.
#[serde(default)]
#[serde(default = "true_fn")]
pub allow_registration: bool,
/// If registration is enabled, and this setting is true, new users