Changes between Initial Version and Version 1 of Ticket #36901, comment 6


Ignore:
Timestamp:
Mar 30, 2026, 9:03:10 AM (2 weeks ago)
Author:
Afenomamy

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36901, comment 6

    initial v1  
    88    - 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.
    99    - 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.
Back to Top