Changes between Initial Version and Version 2 of Ticket #23896
- Timestamp:
- Nov 22, 2014, 3:24:11 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23896
- Property Summary set_password → set_password delegation to auth backend
-
Ticket #23896 – Description
initial v2 4 4 5 5 {{{#!python 6 """ user is for User model instance here, not username string"""7 def set_password( user, new_password):6 """ user is for User model instance previously returned by this backend's authenticate method """ 7 def set_password(self, user, new_password): 8 8 pass 9 9 10 """ user is for User model instance here, not username string"""11 def change_password( user, old_password, new_password):10 """ user is for User model instance previously returned by this backend's authenticate method """ 11 def change_password(self, user, old_password, new_password): 12 12 pass 13 13 }}}