patgarz commented on code in PR #34051:
URL: https://github.com/apache/airflow/pull/34051#discussion_r1320598248


##########
airflow/www/decorators.py:
##########
@@ -88,8 +88,10 @@ def wrapper(*args, **kwargs):
             with create_session() as session:
                 if not get_auth_manager().is_logged_in():
                     user = "anonymous"
+                    user_display = None

Review Comment:
   Agreed, good catch. `get_user_display_name` returns an empty string when 
empty so this should do the same.



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

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

Reply via email to