[add] added maximum client and demo client protection
- default demo clients can no longer be modified/deleted when in demo mode - increased default demo reset to 60 minutes
This commit is contained in:
@@ -7,7 +7,7 @@ prefix_file="${API_PREFIX_FILE:-/app/data/api_prefix}"
|
||||
db_file="${RAILS_DB_PATH:-/app/data/rynDNS.sqlite3}"
|
||||
default_admin_file="${API_DEFAULT_KEY_FILE:-/app/data/api_default_admin}"
|
||||
rails_bin="${RAILS_BINARY:-/app/bin/rails}"
|
||||
demo_cycle="${RAILS_DEMO_RESET:-300s}"
|
||||
demo_cycle="${RAILS_DEMO_RESET:-60m}"
|
||||
demo_prefix="zW3If4s5"
|
||||
seed_default_key_text="Created default admin with api_key" # for grep'ing the default admin key
|
||||
|
||||
|
||||
Reference in New Issue
Block a user