[pmwiki-users] Authentication Error

Patrick R. Michaud pmichaud at pobox.com
Sun Sep 24 08:48:47 CDT 2006


On Sun, Sep 24, 2006 at 09:42:10AM -0400, Crisses wrote:
> On Sep 24, 2006, at 9:10 AM, The Editor wrote:
> > Here's the appropriate lines in authuser.php.  I put a star by line 82
> > * in my editor.  Maybe someone can suggest what exactly this is
> > looking for and why it's not being found on the FAST Data login
> > script?  My login script is still down at the bottom.
> >
> >   foreach(preg_grep('/^@/', (array)@$auth[$authid]) as $g)
> >     $authlist[$g] = 1;
> >   foreach(preg_grep('/^@/', (array)@$auth['*']) as $g)
> >     $authlist[$g] = 1;
> > *  foreach(preg_grep('/^@/', array_keys($auth)) as $g)
> >     if (in_array($authid, $auth[$g])) $authlist[$g] = 1;

I think this is a bug in the authuser.php code -- it likely appears
when AuthUserId() is called and there aren't any entries in either
the $AuthUser array or in the Site.AuthUser page.

I'll fix it for the next release.  

Pm




More information about the pmwiki-users mailing list