mirror of
https://github.com/YunoHost-Apps/workout-tracker_ynh.git
synced 2024-09-03 20:36:03 +02:00
init choosing to enable or disable registrations
This commit is contained in:
parent
a088ed84cb
commit
99b9eda168
2 changed files with 8 additions and 1 deletions
|
@ -4,5 +4,5 @@ WT_LOGGING="true"
|
||||||
WT_DEBUG="false"
|
WT_DEBUG="false"
|
||||||
WT_DATABASE_DRIVER="sqlite"
|
WT_DATABASE_DRIVER="sqlite"
|
||||||
WT_DSN="./database.db"
|
WT_DSN="./database.db"
|
||||||
WT_REGISTRATION_DISABLED="false"
|
WT_REGISTRATION_DISABLED="__REGISTRATION__"
|
||||||
WT_SOCIALS_DISABLED="true"
|
WT_SOCIALS_DISABLED="true"
|
|
@ -35,6 +35,13 @@ ram.runtime = "50M"
|
||||||
type = "group"
|
type = "group"
|
||||||
default = "visitors"
|
default = "visitors"
|
||||||
|
|
||||||
|
[install.registration]
|
||||||
|
ask.en = "Do you want to autorize registrations to this app?"
|
||||||
|
type = "select"
|
||||||
|
choices = ["true", "false"]
|
||||||
|
default = false
|
||||||
|
optional = true
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
|
|
||||||
[resources.sources]
|
[resources.sources]
|
||||||
|
|
Loading…
Add table
Reference in a new issue