Closed beebird closed 6 years ago
I temporarily fixed this by modifying user_manager__views.py
- self.email_manager.send_password_changed_email(current_user)
+ self.email_manager.send_password_changed_email(current_user.email)
- self.email_manager.send_password_changed_email(user)
+ self.email_manager.send_password_changed_email(user.email)
Thanks for this bug report. I've fixed it in a slightly different way:
user_or_user_email_object = self.user_manager.db_manager.get_primary_user_email_object(user)
email = user_or_user_email_object.email
It will be part of the next release build.
Fixed in v1.0.1.4
When reseting my password (reset_password_view), I got the error
TypeError: argument of type 'User' is not iterable
. After debugging, it seems that the there's a problem with functionget_primary_user_email
in db_manager.py,I'm not using UserEmailClass, so the result returned is a User object, which is not iterable...
Can you take a look? Thanks!