mirror of
https://github.com/YunoHost-Apps/invidious_ynh.git
synced 2024-09-03 19:15:55 +02:00
Add config
This commit is contained in:
parent
80dad06762
commit
4f134d10c2
2 changed files with 32 additions and 3 deletions
|
@ -252,7 +252,7 @@ hsts: true
|
|||
## Accepted values: true, false
|
||||
## Default: true
|
||||
##
|
||||
#registration_enabled: true
|
||||
registration_enabled: true
|
||||
|
||||
##
|
||||
## Allow/Forbid users to log-in. This setting affects the ability
|
||||
|
@ -261,7 +261,7 @@ hsts: true
|
|||
## Accepted values: true, false
|
||||
## Default: true
|
||||
##
|
||||
#login_enabled: true
|
||||
login_enabled: true
|
||||
|
||||
##
|
||||
## Enable/Disable the captcha challenge on the login page.
|
||||
|
@ -272,7 +272,7 @@ hsts: true
|
|||
## Accepted values: true, false
|
||||
## Default: true
|
||||
##
|
||||
#captcha_enabled: true
|
||||
captcha_enabled: true
|
||||
|
||||
##
|
||||
## List of usernames that will be granted administrator rights.
|
||||
|
|
29
config_panel.toml
Normal file
29
config_panel.toml
Normal file
|
@ -0,0 +1,29 @@
|
|||
version = "1.0"
|
||||
|
||||
[main]
|
||||
name = "Invidious configuration"
|
||||
services = ["__APP__"]
|
||||
|
||||
[main.config]
|
||||
name = "Configuration Options"
|
||||
|
||||
[main.config.registration_enabled]
|
||||
ask = "Enable registration"
|
||||
type = "boolean"
|
||||
Default= true
|
||||
help = "Allow/Forbid Invidious (local) account creation"
|
||||
bind = "registration_enabled:__FINALPATH__/config/config.yml"
|
||||
|
||||
[main.config.login_enabled]
|
||||
ask = "Enable login"
|
||||
type = "boolean"
|
||||
Default= true
|
||||
help = "Allow/Forbid users to log-in"
|
||||
bind = "login_enabled:__FINALPATH__/config/config.yml"
|
||||
|
||||
[main.config.captcha_enabled]
|
||||
ask = "Enable captcha"
|
||||
type = "boolean"
|
||||
Default= true
|
||||
help = "Enable/Disable the captcha challenge on the login page"
|
||||
bind = "captcha_enabled:__FINALPATH__/config/config.yml"
|
Loading…
Add table
Reference in a new issue