#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

  • 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.

     
    • assigned_to: nobody --> jangliss
     
  • 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.

     
    • status: open --> closed-fixed
     
  • Logged In: NO

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

     
  • Logged In: NO

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

     
  • 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.

     
  • Logged In: NO

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

     
  • 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

     
  • Logged In: NO

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

     
  • Logged In: NO

    hakan.zerey