Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#46 Forgot Password form

closed-fixed
nobody
Program (21)
5
2008-03-15
2008-03-15
David Trejos
No

geoman12345 found a problem in the forgot password form, the program sends the new password by email but does no update de database field.

David T

Discussion

  • David Trejos
    David Trejos
    2008-03-15

    Logged In: YES
    user_id=1343385
    Originator: YES

    Bug fixed in the trunk, and will be available in the next release.

    Closing this bug

    David T

    --- trunk/modules/public/forgotten_password.public.php 2008-03-15 00:01:30 UTC (rev 330)
    +++ trunk/modules/public/forgotten_password.public.php 2008-03-15 00:21:45 UTC (rev 331)
    @@ -25,7 +25,7 @@
    $result = $_ENV['dbi']->extended->autoExecute("users",
    array("password" => md5($new_pass)),
    MDB2_AUTOQUERY_UPDATE,
    - sprintf("userid=%s", $_ENV['dbi']->quote($_SESSION['userid'], 'integer')),
    + sprintf("userid=%s", $_ENV['dbi']->quote($userid, 'integer')),
    array('text'));
    $_ENV['error']->check_pear_error($result, __FILE__, __LINE__);

     
  • David Trejos
    David Trejos
    2008-03-15

    • status: open --> open-fixed
     
  • David Trejos
    David Trejos
    2008-03-15

    • status: open-fixed --> closed-fixed