generated from YunoHost/example_ynh
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfig_panel.toml
58 lines (50 loc) · 2.45 KB
/
config_panel.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version = "1.0"
[main]
name = "Dendrite configuration"
services = ["__APP__"]
[main.registration]
name = "User registration"
[main.registration.registration_shared_secret]
ask = "Shared Secret for Registration."
type = "string"
help = "Allows registration of default user or admin accounts, even if Registration disabled. See instructions https://matrix-org.github.io/synapse/latest/admin_api/register_api.html . Avoid double quotes in the password."
bind = ":__INSTALL_DIR__/dendrite.yaml"
[main.registration.helptext]
ask = """\
###### How to register an account ?
* Provide a Registration Shared Secret
* To register an **admin** account for the user `USERNAME`, connect to your server with ssh and type:
`/opt/yunohost/dendrite/bin/create-account -config /opt/yunohost/dendrite/dendrite.yaml -username USERNAME -admin`
* Remove `-admin` to register a default user account.
"""
type = "markdown"
[main.registration.registration_disabled]
ask = "Disable Registration from Element ?"
type = "boolean"
yes = "true"
no = "false"
help = "If True, Registration of default user accounts from a Client App is disabled. If false and your server is federated, reCAPTCHA verification should be activated to avoid spamming the whole Matrix network."
[main.registration.enable_registration_captcha]
ask = "Require CAPTCHA verification for Registration."
type = "boolean"
yes = "true"
no = "false"
help = "ReCAPTCHA API should be configured. See instructions https://matrix-org.github.io/dendrite/administration/registration#recaptcha-verification"
bind = ":__INSTALL_DIR__/dendrite.yaml"
visible = "!registration_disabled"
[main.registration.guests_disabled]
ask = "Disable guests registration."
type = "boolean"
yes = "true"
no = "false"
help = "Guest registration is also disabled implicitly if Registration from Element is disabled."
bind = ":__INSTALL_DIR__/dendrite.yaml"
visible = "!registration_disabled"
[main.registration.disable_federation]
ask = "Disable Federation."
type = "boolean"
yes = "true"
no = "false"
help = "Do not communicate with other homeservers of the Matrix Federation."
bind = ":__INSTALL_DIR__/dendrite.yaml"
visible = "enable_registration_captcha"