sjyangkevin commented on code in PR #77660:
URL: https://github.com/apache/airflow/pull/77660#discussion_r4722490094


##########
providers/fab/src/airflow/providers/fab/auth_manager/security_manager/override.py:
##########
@@ -2323,9 +2338,7 @@ def auth_user_db(self, username, password, 
rotate_session_id=True) -> User | Non
             )
             log.info(LOGMSG_WAR_SEC_LOGIN_FAILED, username)
             return None
-        if user.password is None:
-            return None
-        if check_password_hash(user.password, password):
+        if self._verify_password(user, password):

Review Comment:
   Thanks. Fixed it by following the approach to skip the stats update in 
`auth_user_db` for a user without a stored password.



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