Changes between Initial Version and Version 1 of Ticket #36901, comment 6
- Timestamp:
- Mar 30, 2026, 9:03:10 AM (2 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36901, comment 6
initial v1 8 8 - For **Attribute Safety**: getattr(user, 'is_active', True) will be used to ensure compatibility with custom user models that do not define an is_active field. This will resolve the reported AttributeError. 9 9 - For **Performance:** make_password will be called directly for the dummy hashing. This avoids the overhead of instantiating a UserModel instance simply to call set_password(). 10 - I think adding more tests is not needed.