forked from External/greenlight
* Changed the way the omniauth providers are declared * Allow local authentication for multitenant mode based on customer settings * Cleanead up code mandated by rubocop * Completed implementation for signin and added the one for signup * Fixed issue with rubocop * Renamed customer_name to lb_user * Renamed lb_user -> user_domain, fixed issue with signup controller, email verification WAS NOT implemented * Completed implementation of email_verification * Fixed rubocop issue * Final update * Fix for test with loadbalancer * Make sure loadbalancer mockup is only used when env defined * Fix for test on rooms_controller * Fixed most of the test failing on multitenant env * Fixed issue detected by rubocop * Fixed issue with activation tockens not working on resend * Fixed new issue found by rubocop * Updated travis script * Harcoded credentials for mockup * Updated expectation on start_session * Fixed issue with duplication of home room * Updated script for rubocop * Restored Gemfile
23 lines
510 B
YAML
23 lines
510 B
YAML
default: &default
|
|
pool: 5
|
|
timeout: 5000
|
|
|
|
development:
|
|
<<: *default
|
|
adapter: sqlite3
|
|
database: db/development.sqlite3
|
|
|
|
test:
|
|
<<: *default
|
|
adapter: sqlite3
|
|
database: db/test.sqlite3
|
|
|
|
# Use sqlite in production by default. Greenlight supports
|
|
production:
|
|
<<: *default
|
|
adapter: <%= ENV['DB_ADAPTER'] || 'sqlite3' %>
|
|
host: <%= ENV['DB_HOST'] %>
|
|
database: <%= ENV['DB_NAME'] || 'db/production/production.sqlite3' %>
|
|
username: <%= ENV['DB_USERNAME'] %>
|
|
password: <%= ENV['DB_PASSWORD'] %>
|