Re: [Phpslash-devel] login.php and the login form
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2003-02-17 22:12:42
|
On Sat, Feb 15, 2003 at 06:15:20PM +0000, Peter Cruickshank wrote: > Hi > > Just wondering if anyone else has encountered this problem (on RC2 and RC3, maybe also earlier versions) > > Often (but not always), when I successfully log in, login.php shows a blank login form, even though I am logged in (as indicated by the change in NavBar items). This seems to particularly happen with MSIE rather than Mozilla, and on second logins, or if I get the password wrong the first time. > > I would be good to get feedback before I investigate further... auth is painful to debug. > Try commenting out these lines of login.php3: /* if(isset($HTTP_POST_VARS['username'])) { // this would be present if a login is in progress $auth->auth["uid"]= "form"; // this is what auth seems to want $auth->start(); } */ They are only needed to kludge a way for the loginblock form to work with the current phplib auth. We should be able to set another variable to check instead of username if it works for you too. thanks, Joe > Thanks > > Peter > > |