1
0
Fork 0
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:
Thomas 2024-04-11 08:02:41 +02:00 committed by GitHub
parent a088ed84cb
commit 99b9eda168
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View file

@ -4,5 +4,5 @@ WT_LOGGING="true"
WT_DEBUG="false"
WT_DATABASE_DRIVER="sqlite"
WT_DSN="./database.db"
WT_REGISTRATION_DISABLED="false"
WT_REGISTRATION_DISABLED="__REGISTRATION__"
WT_SOCIALS_DISABLED="true"

View file

@ -35,6 +35,13 @@ ram.runtime = "50M"
type = "group"
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.sources]