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
+20 -15

No files matched your search

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