1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invidious_ynh.git synced 2024-09-03 19:15:55 +02:00
invidious_ynh/config_panel.toml
Éric Gaspar 67012cbe60
Testing (#73)
* Add config panel
2022-01-20 15:40:49 +01:00

32 lines
No EOL
913 B
TOML

version = "1.0"
[main]
name = "Invidious configuration"
services = ["__APP__"]
[main.config]
name = "Configuration Options"
[main.config.registration_enabled]
ask = "Enable registration"
type = "boolean"
yes = "true"
no = "false"
help = "Allow/Forbid Invidious (local) account creation"
bind = "registration_enabled:__FINALPATH__/config/config.yml"
[main.config.login_enabled]
ask = "Enable login"
type = "boolean"
yes = "true"
no = "false"
help = "Allow/Forbid users to log-in"
bind = "login_enabled:__FINALPATH__/config/config.yml"
[main.config.captcha_enabled]
ask = "Enable captcha"
type = "boolean"
yes = "true"
no = "false"
help = "Enable/Disable the captcha challenge on the login page"
bind = "captcha_enabled:__FINALPATH__/config/config.yml"