[kforge-dev] Changeset [1062]: Complete ticket:26 -- Request new password (or a reminder) if old has been ...

10: Timeline admin at okfn.org
Sun Dec 31 10:00:51 UTC 2006


Complete [ticket:26][1] -- Request new password (or a reminder) if old has been lost. 

New password utility: 

  * /trunk/src/kforge/utils/password.py: new module containing a generate method to generate new random passwords 
  * /trunk/src/kforge/utilstest.py: test for password.generate method 

New command to generate, set and email new passwords: 

  * /trunk/src/kforge/command/misc.py: create new 'misc' module commands containing 

    * [EmailNewPassword?][2]: generate, set and email new password 

  * /trunk/src/kforge/command/misctest.py: test for [EmailNewPassword?][2]
  * /trunk/src/kforge/commandtest.py: add misctest to commandtest 

Changes to web interface: 

  * /trunk/src/kforge/django/templates/kui/login.html: 

    * add forgotpassword checkbox 
    * add section to show a message after a forgot password submission 

  * /trunk/src/kforge/django/apps/kui/views/accesscontrol.py: update to support forgot password 

    * if forgotpassword checkbox set run [EmailNewPassword?][2] command and set related variables for template 

  * /trunk/src/kforge/test/web_test.py: add unit test for forgot password to web interface tests 

    [1]: http://project.knowledgeforge.net/kforge/trac/ticket/26 (Request new password (or a reminder) if old has been lost (closed))
    [2]: http://project.knowledgeforge.net/kforge/trac/wiki/EmailNewPassword

URL: http://project.knowledgeforge.net/kforge/trac/changeset/1062




More information about the kforge-dev mailing list