This repository was archived by the owner on Apr 11, 2025. It is now read-only.
File tree 5 files changed +16
-3
lines changed
5 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 389
389
#
390
390
# allow_registration = false
391
391
392
- # This item is undocumented. Please contribute documentation for it.
392
+ # Enabling this setting opens registration to anyone without restrictions.
393
+ # This makes your server vulnerable to abuse
393
394
#
394
395
# yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse = false
395
396
396
397
# A static registration token that new users will have to provide when
397
398
# creating an account. If unset and `allow_registration` is true,
398
- # registration is open without any condition.
399
+ # you must set
400
+ # `yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse`
401
+ # to true to allow open registration without any conditions.
399
402
#
400
403
# YOU NEED TO EDIT THIS OR USE registration_token_file.
401
404
#
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ services:
17
17
CONDUWUIT_PORT : 6167 # should match the loadbalancer traefik label
18
18
CONDUWUIT_MAX_REQUEST_SIZE : 20000000 # in bytes, ~20 MB
19
19
CONDUWUIT_ALLOW_REGISTRATION : ' true'
20
+ CONDUWUIT_REGISTRATION_TOKEN : ' YOUR_TOKEN' # A registration token is required when registration is allowed.
21
+ # CONDUWUIT_YES_I_AM_VERY_VERY_SURE_I_WANT_AN_OPEN_REGISTRATION_SERVER_PRONE_TO_ABUSE: 'true'
20
22
CONDUWUIT_ALLOW_FEDERATION : ' true'
21
23
CONDUWUIT_ALLOW_CHECK_FOR_UPDATES : ' true'
22
24
CONDUWUIT_TRUSTED_SERVERS : ' ["matrix.org"]'
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ services:
33
33
CONDUWUIT_PORT : 6167
34
34
CONDUWUIT_MAX_REQUEST_SIZE : 20000000 # in bytes, ~20 MB
35
35
CONDUWUIT_ALLOW_REGISTRATION : ' true'
36
+ CONDUWUIT_REGISTRATION_TOKEN : ' YOUR_TOKEN' # A registration token is required when registration is allowed.
37
+ # CONDUWUIT_YES_I_AM_VERY_VERY_SURE_I_WANT_AN_OPEN_REGISTRATION_SERVER_PRONE_TO_ABUSE: 'true'
36
38
CONDUWUIT_ALLOW_FEDERATION : ' true'
37
39
CONDUWUIT_ALLOW_CHECK_FOR_UPDATES : ' true'
38
40
CONDUWUIT_TRUSTED_SERVERS : ' ["matrix.org"]'
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ services:
17
17
CONDUWUIT_PORT : 6167
18
18
CONDUWUIT_MAX_REQUEST_SIZE : 20000000 # in bytes, ~20 MB
19
19
CONDUWUIT_ALLOW_REGISTRATION : ' true'
20
+ CONDUWUIT_REGISTRATION_TOKEN : ' YOUR_TOKEN' # A registration token is required when registration is allowed.
21
+ # CONDUWUIT_YES_I_AM_VERY_VERY_SURE_I_WANT_AN_OPEN_REGISTRATION_SERVER_PRONE_TO_ABUSE: 'true'
20
22
CONDUWUIT_ALLOW_FEDERATION : ' true'
21
23
CONDUWUIT_ALLOW_CHECK_FOR_UPDATES : ' true'
22
24
CONDUWUIT_TRUSTED_SERVERS : ' ["matrix.org"]'
Original file line number Diff line number Diff line change @@ -492,12 +492,16 @@ pub struct Config {
492
492
#[ serde( default ) ]
493
493
pub allow_registration : bool ,
494
494
495
+ /// Enabling this setting opens registration to anyone without restrictions.
496
+ /// This makes your server vulnerable to abuse
495
497
#[ serde( default ) ]
496
498
pub yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse : bool ,
497
499
498
500
/// A static registration token that new users will have to provide when
499
501
/// creating an account. If unset and `allow_registration` is true,
500
- /// registration is open without any condition.
502
+ /// you must set
503
+ /// `yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse`
504
+ /// to true to allow open registration without any conditions.
501
505
///
502
506
/// YOU NEED TO EDIT THIS OR USE registration_token_file.
503
507
///
You can’t perform that action at this time.
0 commit comments