ashb commented on a change in pull request #12747:
URL: https://github.com/apache/airflow/pull/12747#discussion_r533709187



##########
File path: airflow/cli/commands/webserver_command.py
##########
@@ -317,6 +317,19 @@ def webserver(args):
     """Starts Airflow Webserver"""
     print(settings.HEADER)
 
+    # Check for old/insecure config, and fail safe (i.e. don't launch) if the 
config is wildly insecure.
+    if conf.get('webserver', 'secret_key') == 'temporary_key':
+        from rich import print as rich_print
+
+        rich_print(

Review comment:
       We don't have `rich` in 1.10, so should just use normal print there.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to