feat: Enable unauthenticated rendezvous by default

This commit is contained in:
Ginger authored and Ellis Git committed 2026-11-13 18:01:10 +00:00
1 parent 10cc025dca
commit d312cbd7f9
2 files changed
+20 -15

No files matched your search

+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