This is an automated email from the ASF dual-hosted git repository.
uranusjr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new feaa5087e6 Import AUTH_REMOTE_USER from FAB in WSGI middleware example
(#34721)
feaa5087e6 is described below
commit feaa5087e6a6b89d9d3ac7eaf9872d5b626bf1ce
Author: Hussein Awala <[email protected]>
AuthorDate: Wed Oct 4 11:36:38 2023 +0200
Import AUTH_REMOTE_USER from FAB in WSGI middleware example (#34721)
---
docs/apache-airflow/security/webserver.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/apache-airflow/security/webserver.rst
b/docs/apache-airflow/security/webserver.rst
index 282eabaa5b..6fd66bc5dd 100644
--- a/docs/apache-airflow/security/webserver.rst
+++ b/docs/apache-airflow/security/webserver.rst
@@ -113,7 +113,7 @@ and leverage the REMOTE_USER method:
from typing import Any, Callable
from flask import current_app
- from airflow.www.fab_security.manager import AUTH_REMOTE_USER
+ from flask_appbuilder.const import AUTH_REMOTE_USER
class CustomMiddleware: