#6783 Create a process to reset forgotten passwords

v1.1.0
closed
nobody
General
Cory Johns
2015-08-20
2013-10-22
No

Allura should have a link on the login page for people who have forgotten their username or password.

It should go to a form that asks them for their email address, and then if that email address is verified in the system and and the user record isn't disabled, send an email to them. The email should include their username and a link to a reset page.

The reset page can use a secret hash url parameter to validate the user and let them reset their password. The hash should be stored in the database when the email was first sent. Also store the time that the email was sent, so that the hash is only valid for a certain time period (configurable in ini). For the password change form, lets re-use as much of the password change logic that already exists for logged-in users. Refactor if needed.

Use config['site_name'] on the html and email templates, so that the experience is recognizable and comfortable for users.

Since auth is pluggable in Allura, this whole process needs to be optional. Perhaps the simplest thing would be a new property on AuthenticationProvider classes. Have it default to false, and the LocalAuthenticationProvider can set the "forgot password reset" property to true.

Related

Tickets: #6783

Discussion

  • Igor Bondarenko - 2013-10-23

    Created #463: [#6783] Create a process to reset forgotten passwords (3cp)

     

    Related

    Tickets: #6783

  • Igor Bondarenko - 2013-10-23
    • status: open --> in-progress
     
  • Igor Bondarenko - 2013-11-05

    Closed #463. je/42cc_6783

     
  • Igor Bondarenko - 2013-11-05
    • status: in-progress --> code-review
     
  • Cory Johns - 2013-11-07
    • QA: Cory Johns
     
  • Cory Johns - 2013-11-07
    • status: code-review --> closed
    • Milestone: forge-backlog --> forge-nov-15
     

Log in to post a comment.