templates/app/controllers/concerns/basic_authentication.rb in cybele-1.9.1 vs templates/app/controllers/concerns/basic_authentication.rb in cybele-1.9.2

- old
+ new

@@ -6,10 +6,10 @@ end private def authenticate - if Rails.env.staging? and ENV['BASIC_AUTH_IS_ACTIVE'] == 'yes' + if ENV['BASIC_AUTH_IS_ACTIVE'] == 'yes' authenticate_or_request_with_http_basic do |username, password| username == Settings.basic_auth.username && password == Settings.basic_auth.password end end end \ No newline at end of file