Results 1 to 6 of 6

Thread: Forgot Password Problem- CLEAN

  1. #1
    Tee
    Tee is offline

    Join Date
    Jun 2005
    Posts
    61

    Default Forgot Password Problem- CLEAN

    There is a problem with the forgot password in CLEAN. The new password that is generated and sent to your email address does not let you log in. This is also true on the modmysite demo.


    =====
    FIX
    =====
    in forgot.php change md5(`Password`) to just 'Password'
    Last edited by Tee; 09-20-2007 at 02:59 PM. Reason: corrected case

  2. #2
    BAVARAC
    Guest

    Default

    Quote Originally Posted by Tee View Post
    There is a problem with the forgot password in CLEAN. The new password that is generated and sent to your email address does not let you log in. This is also true on the modmysite demo.


    =====
    FIX
    =====
    in forgot.php chnage MD5('password') to just 'password'

    OR

    ('Password')

    ????

  3. #3
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Yes - since CLEAN allows the admin to choose to use or not use encrypted user passwords at installation - there needs to be a check in forgot.php to see which choice the admin made - and use the appropriate password code.

    We will post a fix here shortly, and also apply to the next release of CLEAN.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  4. #4
    mark
    Guest

    Post bug fixed -- forgot.php plain text password

    filename : forgot.php IN function PageCompPageMainCode()

    find :

    $sQuery = "UPDATE `Profiles` SET `Password` = md5(`Password`) WHERE `ID`='{$memb_arr['ID']}'";
    replace :

    if ( !getParam("password_plain_text") )
    {
    $sQuery = "UPDATE `Profiles` SET `Password` = md5(`Password`) WHERE `ID`='{$memb_arr['ID']}'";
    db_res( $sQuery );
    }

  5. #5
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Tee - I see on the clean demo site - your password is MD5 - please use forgot.php again there to reset it to pain text (since we have applied the fix)
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  6. #6

    Join Date
    Feb 2008
    Posts
    26

    Default

    thanks alot it was very helpful

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How can I add an extra field to forgot.php
    By ArnMan in forum Boonex Dolphin 7
    Replies: 2
    Last Post: 06-09-2010, 04:10 AM
  2. forgot my pass
    By omgland in forum Dolphin General Discussion v6.00 and above
    Replies: 1
    Last Post: 07-11-2009, 08:39 PM
  3. Problem with password fields
    By docheff in forum General Issues, Comments, Questions
    Replies: 3
    Last Post: 03-04-2008, 10:39 PM
  4. Forgot Nickname
    By Prometheus in forum Bugs and Fixes
    Replies: 2
    Last Post: 03-04-2006, 08:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •