This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v2-7-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 14e01708c32cc23fdf3a963314444ad83f1cfb57
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)
    
    (cherry picked from commit feaa5087e6a6b89d9d3ac7eaf9872d5b626bf1ce)
---
 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 d990afa4d4..bf7991ac8a 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:

Reply via email to