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


##########
providers/fab/src/airflow/providers/fab/auth_manager/security_manager/override.py:
##########
@@ -1587,6 +1588,8 @@ def add_user(
             user.groups = groups or []
             if hashed_password:
                 user.password = hashed_password
+            elif is_empty_password(password):

Review Comment:
   Thanks for catching it. `set_user_password` now stores no hash for a blank 
password, so `reset_password` and `PATCH /users` follow the same rule as 
`add_user` and `add_register_user`. The token generation is still bumped, so 
existing tokens and sessions are still invalidated.



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