diff --git a/airflow/cli/commands/remote_commands/config_command.py b/airflow/cli/commands/remote_commands/config_command.py index aec987b6313cc..17e7b62321761 100644 --- a/airflow/cli/commands/remote_commands/config_command.py +++ b/airflow/cli/commands/remote_commands/config_command.py @@ -227,10 +227,6 @@ def message(self) -> str: ConfigChange( config=ConfigParameter("webserver", "allow_raw_html_descriptions"), ), - ConfigChange( - config=ConfigParameter("webserver", "session_lifetime_days"), - suggestion="Please use `session_lifetime_minutes`.", - ), ConfigChange( config=ConfigParameter("webserver", "update_fab_perms"), renamed_to=ConfigParameter("fab", "update_fab_perms"), diff --git a/tests/cli/commands/remote_commands/test_config_command.py b/tests/cli/commands/remote_commands/test_config_command.py index cac338c7c8955..f932b1851d227 100644 --- a/tests/cli/commands/remote_commands/test_config_command.py +++ b/tests/cli/commands/remote_commands/test_config_command.py @@ -361,10 +361,6 @@ def test_lint_detects_multiple_issues(self): "Remove TaskContextLogger: Replaced by the Log table for better handling of task log messages outside the execution context.", ), ], - [ - ("webserver", "allow_raw_html_descriptions", ""), - ("webserver", "session_lifetime_days", "Please use `session_lifetime_minutes`."), - ], ], ) def test_lint_detects_multiple_removed_configs(self, removed_configs):