feat: Enable unauthenticated rendezvous by default

This commit is contained in:
Ginger committed 2026-11-11 10:02:52 -05:00
1 parent b688838218
commit d0e4ce39d2
2 files changed
+19 -14

No files matched your search

+9 -7
View File
@@ -824,14 +824,16 @@
# env: CONTINUWUITY_REQUIRE_AUTH_FOR_PROFILE_REQUESTS # env: CONTINUWUITY_REQUIRE_AUTH_FOR_PROFILE_REQUESTS
#require_auth_for_profile_requests = false #require_auth_for_profile_requests = false
# Set this to false to allow rendezvous sessions to be created without # Set this to true to require authentication to create a rendezvous
# authentication. Rendezvous sessions are used for QR code sign-in. # session. Rendezvous sessions are used for QR code login.
# #
# By default this is true, meaning that a user must use their signed-in # For QR code login, the device that shows the QR code is the one that
# device to generate a QR code when signing in. Setting this to false will # creates the rendezvous session. Therefore, this must be false to let
# allow signed-out devices to generate QR codes using this homeserver, # a logged-out device show a QR code.
# which may be desirable for public-registration homeservers. #
#a user # By default this is false, allowing logged-out desktop devices (which may
# not have a camera) to show a QR code. Setting this to true will
# require logged-out devices to scan the QR code instead.
# #
# env: CONTINUWUITY_REQUIRE_AUTH_FOR_RENDEZVOUS # env: CONTINUWUITY_REQUIRE_AUTH_FOR_RENDEZVOUS
#require_auth_for_rendezvous = true #require_auth_for_rendezvous = true
+10 -7
View File
@@ -931,16 +931,19 @@ pub struct Config {
#[serde(default)] #[serde(default)]
pub require_auth_for_profile_requests: bool, pub require_auth_for_profile_requests: bool,
/// Set this to false to allow rendezvous sessions to be created without /// Set this to true to require authentication to create a rendezvous
/// authentication. Rendezvous sessions are used for QR code sign-in. /// session. Rendezvous sessions are used for QR code login.
/// ///
/// By default this is true, meaning that a user must use their signed-in /// For QR code login, the device that shows the QR code is the one that
/// device to generate a QR code when signing in. Setting this to false will /// creates the rendezvous session. Therefore, this must be false to let
/// allow signed-out devices to generate QR codes using this homeserver, /// a logged-out device show a QR code.
/// which may be desirable for public-registration homeservers. ///
/// By default this is false, allowing logged-out desktop devices (which may
/// not have a camera) to show a QR code. Setting this to true will
/// require logged-out devices to scan the QR code instead.
/// ///
/// default: true /// default: true
#[serde(default = "true_fn")] #[serde(default)]
pub require_auth_for_rendezvous: bool, pub require_auth_for_rendezvous: bool,
/// Set this to true to allow your server's public room directory to be /// Set this to true to allow your server's public room directory to be