- 
                Notifications
    
You must be signed in to change notification settings  - Fork 206
 
Resetting a user's password
        Erik Hesselink edited this page Nov 11, 2013 
        ·
        3 revisions
      
    Hackage administrators can help users reset their password. This can be needed when they still have an old-style account, in which case password reset doesn't work. It can also be used when a user does not have access to their old email address anymore.
To reset a user's password:
- Set a temporary password at http://hackage.haskell.org/user/:user/password
 - If the user still has an old style account: enable the account at http://hackage.haskell.org/user/:user/enabled
 - Check the email address associated with the account at http://hackage.haskell.org/user/:user/name-contact
 - Email the password to the associated email, asking to change it at the url from step 1.
 
If the user doesn't have access to the associates email address anymore:
- Verify by some other means (github, mailing list) that the new email address corresponds to the hackage account.
 - Send the password to the new email address.
 - Update the associated email address. Currently there is no html form for this. You can use this curl command:
 
curl -X PUT http://hackage.haskell.org/user/:user/name-contact -d "{\\"name\\":\\"<OLD_USER_NAME>\\",\\"contactEmailAddress\\":\\"<NEW_EMAIL>\\"}" -v --user <YOUR_USER_NAME> -H "content-type: application/json"