vincbeck commented on code in PR #47869:
URL: https://github.com/apache/airflow/pull/47869#discussion_r1999777187


##########
airflow/api_fastapi/auth/managers/simple/simple_auth_manager.py:
##########
@@ -327,6 +337,21 @@ def _is_authorized(
             return role.order >= allow_get_role.order
         return role.order >= allow_role.order
 
+    @staticmethod
+    def _get_passwords(users: list[dict[str, str]], stream: TextIO) -> 
tuple[dict[str, str], bool]:
+        # Read passwords from file
+        user_passwords_from_file = json.load(stream)

Review Comment:
   In this case that will throw an error like it should do. I can add an error 
log to make it easier to debug but I think it should break if the file is not a 
JSON



-- 
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]

Reply via email to