<?xml version="1.0" encoding="UTF-8"?>
<issue>
  <id>3519</id>
  <project name="Redmine" id="1"/>
  <tracker name="Defect" id="1"/>
  <status name="Closed" id="5"/>
  <priority name="Normal" id="4"/>
  <author name="Jan Schulz-Hofen" id="6410"/>
  <assigned_to name="Jean-Philippe Lang" id="1"/>
  <category name="Website (redmine.org)" id="25"/>
  <subject>Lost password feature does not work for at least one account on redmine.org</subject>
  <description>I created an account on redmine.org in Feb 2008 under the name @yeah@ and I tried the forgot-password feature today with no luck. I registered a new account @yeah2@ and tried to reproduce the error and it doesn't happen. So my guess is that there's some database inconsistency with that old account that might be caused by one of the migrations since then. In this case it might be worthwhile to investigate further.

These are the steps that I accomplished:

* go to http://www.redmine.org/account/lost_password
* typed in my email address
* got the email
* clicked the link
* chose a new pw in the form, submitted
* got the "password successfully updated" flash message
* tried logging in with @yeah@ and the new password
* got the "invalid user or password" flash message

I tried this a couple of times with @yeah@ with no luck and a couple of times with @yeah2@ (the newly created account) and it worked perfectly.

You can try and experiment with the @yeah@ account on redmine.org if that helps for testing. I didn't do much with it anyways, but it would be nice to have it handed back to me afterwards :)

I'm assigning this to JPL because as I understand it, he manages hosting of redmine.org</description>
  <start_date>2009-06-21</start_date>
  <due_date></due_date>
  <done_ratio>0</done_ratio>
  <estimated_hours></estimated_hours>
  <custom_fields>
    <custom_field name="Affected version" id="1"></custom_field>
    <custom_field name="Resolution" id="2">Invalid</custom_field>
  </custom_fields>
  <created_on>Sun Jun 21 15:21:07 +0200 2009</created_on>
  <updated_on>Sun Jun 28 14:53:41 +0200 2009</updated_on>
  <journals>
    <journal id="9942">
      <user name="Jean-Philippe Lang" id="1"/>
      <notes>This was not working with yeah account because it was not activated.
It's now actived.</notes>
      <details>
        <detail old="1" name="status_id" property="attr" new="5"/>
        <detail old="0.8.4" name="1" property="cf" new=""/>
        <detail old="" name="2" property="cf" new="Invalid"/>
      </details>
    </journal>
    <journal id="9943">
      <user name="Jan from www.plan.io" id="347"/>
      <notes>oh, thanks then for helping me out :) however, maybe the regular behavior in this case should be changed such that the activation link gets sent again instead of a reset-password link? do you want me to make that another ticket?</notes>
      <details>
      </details>
    </journal>
  </journals>
</issue>
