Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Remove DISABLE_AUTH deprecation warning (#3904)

ruslandogac08aa29ad89b
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a17e40ca14..9bc8610e5e 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 83807cf1b5..2d283b241c 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")