From b5d8b0086e4d8a0976eb0677ff076e78e8fb2682 Mon Sep 17 00:00:00 2001 From: Qwerty5Uiop Date: Mon, 1 Aug 2022 16:43:58 +0400 Subject: [PATCH] Drop admin_panel_enabled env from runtime config --- config/runtime.exs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/runtime.exs b/config/runtime.exs index f92d0d57d8..34c91d1b4f 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -72,8 +72,7 @@ config :block_scout_web, max_size_to_show_array_as_is: Integer.parse(System.get_env("MAX_SIZE_UNLESS_HIDE_ARRAY", "50")), max_length_to_show_string_without_trimming: System.get_env("MAX_STRING_LENGTH_WITHOUT_TRIMMING", "2040"), re_captcha_secret_key: System.get_env("RE_CAPTCHA_SECRET_KEY", nil), - re_captcha_client_key: System.get_env("RE_CAPTCHA_CLIENT_KEY", nil), - admin_panel_enabled: System.get_env("ADMIN_PANEL_ENABLED", "") == "true" + re_captcha_client_key: System.get_env("RE_CAPTCHA_CLIENT_KEY", nil) default_api_rate_limit = 50 default_api_rate_limit_str = Integer.to_string(default_api_rate_limit)