From c08aa29ad89b574b5af906a3ea97214331eea583 Mon Sep 17 00:00:00 2001 From: ruslandoga Date: Mon, 18 Mar 2024 16:56:26 +0800 Subject: [PATCH] Remove DISABLE_AUTH deprecation warning (#3904) * remove DISABLE_AUTH deprecation warning * changelog --- CHANGELOG.md | 1 + config/runtime.exs | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a17e40ca1..9bc8610e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,7 @@ All notable changes to this project will be documented in this file. - Removed the `prop-breakdown.csv` file from CSV export - Deprecated `CLICKHOUSE_MAX_BUFFER_SIZE` - Removed `/app/init-admin.sh` that was deprecated in v2.0.0 plausible/analytics#3903 +- Remove `DISABLE_AUTH` deprecation warning plausible/analytics#3904 ### Changed - Limit the number of Goal Conversions shown on the dashboard and render a "Details" link when there are more entries to show diff --git a/config/runtime.exs b/config/runtime.exs index 83807cf1b..2d283b241 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -231,10 +231,6 @@ maxmind_license_key = get_var_from_path_or_env(config_dir, "MAXMIND_LICENSE_KEY" maxmind_edition = get_var_from_path_or_env(config_dir, "MAXMIND_EDITION", "GeoLite2-City") persistent_cache_dir = get_var_from_path_or_env(config_dir, "PERSISTENT_CACHE_DIR") -if System.get_env("DISABLE_AUTH") do - Logger.warning("DISABLE_AUTH env var is no longer supported") -end - enable_email_verification = config_dir |> get_var_from_path_or_env("ENABLE_EMAIL_VERIFICATION", "false")