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

#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

<< < 1 2 (Page 2 of 2)
  • Logged In: NO

    hakan.zerey

     
<< < 1 2 (Page 2 of 2)