mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-12 19:56:48 +00:00
feat: Enable unauthenticated rendezvous by default
This commit is contained in:
2 files changed
+20
-15
No files matched your search
@@ -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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user