(doc): Update docker-compose.yml and conduwuit-example.toml

The server cannot start without a registration token when registration is configured

Signed-off-by: bumpsoo <bumpsoo063@protonmail.ch>
This commit is contained in:
bumpsoo 2025-01-05 11:37:40 +09:00 committed by June Clementine Strawberry
parent d86061084c
commit 9dcf289c7a
5 changed files with 16 additions and 3 deletions

View file

@ -492,12 +492,16 @@ pub struct Config {
#[serde(default)]
pub allow_registration: bool,
/// Enabling this setting opens registration to anyone without restrictions.
/// This makes your server vulnerable to abuse
#[serde(default)]
pub yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse: bool,
/// A static registration token that new users will have to provide when
/// creating an account. If unset and `allow_registration` is true,
/// registration is open without any condition.
/// you must set
/// `yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse`
/// to true to allow open registration without any conditions.
///
/// YOU NEED TO EDIT THIS OR USE registration_token_file.
///