mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-10 16:22:50 +02:00
feat: Add ReCaptcha registration flow
This commit is contained in:
parent
13b21b00a9
commit
651d07a609
6 changed files with 80 additions and 13 deletions
|
@ -556,6 +556,10 @@ pub struct Config {
|
|||
/// example: "/etc/continuwuity/.reg_token"
|
||||
pub registration_token_file: Option<PathBuf>,
|
||||
|
||||
pub recaptcha_site_key: Option<String>,
|
||||
|
||||
pub recaptcha_private_site_key: Option<String>,
|
||||
|
||||
/// Controls whether encrypted rooms and events are allowed.
|
||||
#[serde(default = "true_fn")]
|
||||
pub allow_encryption: bool,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue