Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [bob1980] How to fix a login bug

Quote Reply
Re: [bob1980] How to fix a login bug In reply to
in Links::User::Login.pm

in the login_user subroutine, you can change:

Code:
# Make sure we have both a username and password.
if (!$username or !$password) {
print $IN->header();
print Links::SiteHTML::display ('login', { error => Links::language('USER_BADLOGIN'), Username => $username });
return;
}
}

Get rid of the part in red.

That will stop the program from passing back the "Username" field.

There are more elegant fixes, but that fix is definitive until the upgrade, ;)


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Subject Author Views Date
Thread How to fix a login bug bob1980 2785 Oct 1, 2004, 2:53 PM
Thread Re: [bob1980] How to fix a login bug
pugdog 2715 Oct 1, 2004, 4:29 PM
Thread Re: [pugdog] How to fix a login bug
bob1980 2701 Oct 1, 2004, 5:04 PM
Thread Re: [bob1980] How to fix a login bug
pugdog 2669 Oct 2, 2004, 5:38 AM
Thread Re: [pugdog] How to fix a login bug
bob1980 2684 Oct 2, 2004, 11:13 AM
Thread Re: [bob1980] How to fix a login bug
pugdog 2695 Oct 2, 2004, 4:06 PM
Post Re: [pugdog] How to fix a login bug
bob1980 2629 Oct 6, 2004, 4:42 PM