Merge pull request 'Fix broken database seed' (#90) from bugfix/reserved_admin_username into master
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #90
Reviewed-by: raucao <raucao@noreply.kosmos.org>
This commit is contained in:
Râu Cao 2023-02-26 14:20:45 +00:00
commit b84f9109f6
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