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 1777 Oct 1, 2004, 2:53 PM
Thread Re: [bob1980] How to fix a login bug
pugdog 1721 Oct 1, 2004, 4:29 PM
Thread Re: [pugdog] How to fix a login bug
bob1980 1718 Oct 1, 2004, 5:04 PM
Thread Re: [bob1980] How to fix a login bug
pugdog 1688 Oct 2, 2004, 5:38 AM
Thread Re: [pugdog] How to fix a login bug
bob1980 1693 Oct 2, 2004, 11:13 AM
Thread Re: [bob1980] How to fix a login bug
pugdog 1699 Oct 2, 2004, 4:06 PM
Post Re: [pugdog] How to fix a login bug
bob1980 1638 Oct 6, 2004, 4:42 PM