mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
docs: Clarify documentation for require_email_for_registration
This commit is contained in:
@@ -1959,8 +1959,10 @@
|
|||||||
#
|
#
|
||||||
#sender =
|
#sender =
|
||||||
|
|
||||||
# Whether to require that users provide an email address when they
|
# Whether to allow public registration with an email address.
|
||||||
# register.
|
#
|
||||||
|
# Note that, if this option is enabled, anyone will be able to register an
|
||||||
|
# account with just an email address.
|
||||||
#
|
#
|
||||||
# If either this option or `require_email_for_token_registration` are set,
|
# If either this option or `require_email_for_token_registration` are set,
|
||||||
# users will not be allowed to remove their email address.
|
# users will not be allowed to remove their email address.
|
||||||
@@ -1968,6 +1970,7 @@
|
|||||||
#require_email_for_registration = false
|
#require_email_for_registration = false
|
||||||
|
|
||||||
# Whether to require that users who register with a registration token
|
# Whether to require that users who register with a registration token
|
||||||
# provide an email address.
|
# provide an email address. This option is independent of
|
||||||
|
# `require_email_for_registration`.
|
||||||
#
|
#
|
||||||
#require_email_for_token_registration = false
|
#require_email_for_token_registration = false
|
||||||
|
|||||||
@@ -2318,8 +2318,10 @@ pub struct SmtpConfig {
|
|||||||
/// - `address@domain.org` to not use a name
|
/// - `address@domain.org` to not use a name
|
||||||
pub sender: Mailbox,
|
pub sender: Mailbox,
|
||||||
|
|
||||||
/// Whether to require that users provide an email address when they
|
/// Whether to allow public registration with an email address.
|
||||||
/// register.
|
///
|
||||||
|
/// Note that, if this option is enabled, anyone will be able to register an
|
||||||
|
/// account with just an email address.
|
||||||
///
|
///
|
||||||
/// If either this option or `require_email_for_token_registration` are set,
|
/// If either this option or `require_email_for_token_registration` are set,
|
||||||
/// users will not be allowed to remove their email address.
|
/// users will not be allowed to remove their email address.
|
||||||
@@ -2329,7 +2331,8 @@ pub struct SmtpConfig {
|
|||||||
pub require_email_for_registration: bool,
|
pub require_email_for_registration: bool,
|
||||||
|
|
||||||
/// Whether to require that users who register with a registration token
|
/// Whether to require that users who register with a registration token
|
||||||
/// provide an email address.
|
/// provide an email address. This option is independent of
|
||||||
|
/// `require_email_for_registration`.
|
||||||
///
|
///
|
||||||
/// default: false
|
/// default: false
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
|
|||||||
Reference in New Issue
Block a user