Skip to content

Commit

Permalink
Import AUTH_REMOTE_USER from FAB in WSGI middleware example (#34721)
Browse files Browse the repository at this point in the history
(cherry picked from commit feaa508)
  • Loading branch information
hussein-awala authored and ephraimbuddy committed Oct 5, 2023
1 parent 7a49651 commit 707d13c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/apache-airflow/security/webserver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 707d13c

Please sign in to comment.