Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def is_staging
def authenticate_if_needed
# Disable this extra authentication in test mode
return true if Rails.env.test?
return true # any hint of basic auth will stop BL staff from accessing site so instead we open all the "private" demo sites
if (is_hidden || is_staging) && !is_api_or_pdf # rubocop:disable Lint/UnreachableCode
#return true # any hint of basic auth will stop BL staff from accessing site so instead we open all the "private" demo sites
if (is_hidden || is_staging) && !is_api_or_pdf
authenticate_or_request_with_http_basic do |username, password|
username == ENV.fetch("HYKU_DEMO_USER", "bl_demo_user") && password == ENV.fetch("HYKU_DEMO_PASSWORD", "resu_omed_lb")
end
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ services:
## interact with the breakpoints.
##
# command: sh -l -c "bundle && tail -f /dev/null"
command: tail -f /dev/null
depends_on:
db:
condition: service_started
Expand Down
Loading