vincbeck commented on code in PR #65710:
URL: https://github.com/apache/airflow/pull/65710#discussion_r3139010060
##########
providers/fab/src/airflow/providers/fab/www/extensions/init_appbuilder.py:
##########
@@ -193,10 +195,14 @@ def init_app(self, app, session):
self.menu = dynamic_class_import(_menu)
else:
self.menu = self.menu or Menu()
-
self._addon_managers = app.config["ADDON_MANAGERS"]
self.session = session
- auth_manager = create_auth_manager()
+ try:
+ auth_manager = get_auth_manager()
Review Comment:
If you do that, you should not need to do `if not isinstance(auth_manager,
FabAuthManager):` below
```suggestion
auth_manager = get_fab_auth_manager()
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]