Fix broken database seed #90

Merged
raucao merged 2 commits from bugfix/reserved_admin_username into master 2023-02-26 14:20:45 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ so:
in the log output
4. `docker-compose exec ldap dsconf localhost backend create --suffix="dc=kosmos,dc=org" --be-name="dev"`
5. `docker compose run web rails ldap:setup`
5. `docker compose run web rails db:setup`
6. `docker compose run web rails db:setup`
After these steps, you should have a working Rails app with a handful of test
users running on [http://localhost:3000](http://localhost:3000).

View File

@ -3,7 +3,7 @@ class Setting < RailsSettings::Base
cache_prefix { "v1" }
field :reserved_usernames, type: :array, default: %w[
account accounts admin donations mail webmaster support
account accounts donations mail webmaster support
]
field :lndhub_enabled, default: (ENV["LNDHUB_API_URL"].present?.to_s || "false"), type: :boolean