dirrao commented on code in PR #37044:
URL: https://github.com/apache/airflow/pull/37044#discussion_r1468516075
##########
airflow/providers/fab/auth_manager/security_manager/override.py:
##########
@@ -470,7 +470,9 @@ def reset_password(self, userid, password):
user = self.get_user_by_id(userid)
user.password = generate_password_hash(password)
self.reset_user_sessions(user)
- self.update_user(user)
+ if self.update_user(user) is False:
Review Comment:
Can we update update_user to return True in case of success and then return
its status?
--
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]