Changes between Initial Version and Version 2 of Ticket #23896


Ignore:
Timestamp:
Nov 22, 2014, 3:24:11 PM (10 years ago)
Author:
Roman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23896

    • Property Summary set_passwordset_password delegation to auth backend
  • Ticket #23896 – Description

    initial v2  
    44
    55{{{#!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 """
     7def set_password(self, user, new_password):
    88    pass
    99
    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 """
     11def change_password(self, user, old_password, new_password):
    1212    pass
    1313}}}
Back to Top