From 0ac9e458eb3d07190208956d7ea1aa4102f7b572 Mon Sep 17 00:00:00 2001 From: Christy Karpinski Date: Tue, 1 Aug 2023 16:24:20 -0500 Subject: [PATCH] fixed rubocop offenses --- app/controllers/application_controller.rb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index fde77b26..9449da3c 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -65,18 +65,6 @@ def super_and_current_users users end - ## - # Extra authentication for palni-palci during development phase - def authenticate_if_needed - # Disable this extra authentication in test mode - return true if Rails.env.test? - if (is_hidden || is_staging) && !is_api_or_pdf - authenticate_or_request_with_http_basic do |username, password| - username == "atla" && password == "hyku" - end - end - end - private def require_active_account!