You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "uranusjr (via GitHub)" <gi...@apache.org> on 2023/08/02 05:55:50 UTC

[GitHub] [airflow] uranusjr commented on a diff in pull request #33022: Affix webserver access_denied warning to be configurable

uranusjr commented on code in PR #33022:
URL: https://github.com/apache/airflow/pull/33022#discussion_r1281429065


##########
airflow/www/auth.py:
##########
@@ -28,6 +28,10 @@
 T = TypeVar("T", bound=Callable)
 
 
+def get_access_denied_message():
+    return conf.get("webserver", "access_denied_message")

Review Comment:
   This should either use `get_mandatory` or provide a fallback.



-- 
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-unsubscribe@airflow.apache.org

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