#1799 Password field does not get focus on login.php

closed-fixed
None
5
2005-06-22
2005-06-17
No

Without RegisterGlobals, going to login.php?
loginname=my@email.com will result in a login screen
with the username field filled, but the focus still at the
username field instead of the password field.

Simple fix (login.php, line 95) change:
if (textElements == " . (isset($loginname) ? 2 : 1) . ")
{\n".

to:

if (textElements == " . (isset($_GET['loginname']) ? 2 :
1) . ") {\n".

Problem appears in all versions.

Discussion

  • Jonathan Angliss

    Logged In: YES
    user_id=620333

    I shall take a look at this. There is a possibility we
    might want to allow the values to come from a POST as well.
    There is a line of code about 10-15 lines below the one you
    corrected, but it appears after a plugin hook, and some
    plugins might be affecting it, so I want to do a quick check
    before I move the line up.

     
  • Jonathan Angliss

    • assigned_to: nobody --> jangliss
     
  • Jonathan Angliss

    Logged In: YES
    user_id=620333

    I believe that the bug you reported has been fixed in the CVS version. Please either grab a live CVS version or wait and grab an archive of the CVS from tomorrow or later (just to make sure it has the changes in it).

    If the bug does not exist after you update to the CVS version, please close this bug report.

     
  • Jonathan Angliss

    • status: open --> closed-fixed
     
  • Nobody/Anonymous

    Logged In: NO

    hi
    i would like to know how i can change my password.

     
  • Nobody/Anonymous

    Logged In: NO

    I wanted to change the password for tongsin@beumin.org

     
  • Jonathan Angliss

    Logged In: YES
    user_id=620333

    Please contact your service provider for assistance on
    changing your password. This bug report is not about
    password changing.

     
  • Nobody/Anonymous

    Logged In: NO

    me gustaría saber cómo puedo cambiar mi contraseña o
    password

     
  • Nobody/Anonymous

    Logged In: NO

    http://www.yourbizhelp.biz/squirrelmail/src/webmail.php

    I Can't read my mail
    Web Site Not Responding
    The web site you have requested may be experiencing
    technical difficulties due to a busy or broken server.

    Please try again by clicking the Reload icon on your
    navigation bar or, if that doesn't work, you may want to
    return to the site at a later time.

    502 Connection Hangup

     
  • Nobody/Anonymous

    Logged In: NO

    How do I change my pasword?
    eva@mtbaker.us

     
  • Nobody/Anonymous

    Logged In: NO

    hakan.zerey

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks