Skip to content

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:

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"