[pmwiki-users] AuthUser login automated
Patrick R. Michaud
pmichaud at pobox.com
Wed Aug 2 12:30:14 CDT 2006
On Sun, Jul 30, 2006 at 06:23:05PM +0200, Helge Larsen wrote:
> I'm trying to do some automated work in my site based on PmWiki with
> AuthUser activated.
> In an old mail from Oct 2005 by Pm stated that to enable login you had
> to set the following variables:
> $AuthId = $username;
> $_SESSION['authid'] = $username;
> But in the newest PMWiki 2.1.11 this don't work any more. There seems
> to be 3 arrays in $_SESSION now: [authid], [authlist] and [authpw].
> What do I do to make the login work, when I have the username and
> password in local variables ?
SessionAuth($pagename, array('authid' => $username));
More information about the pmwiki-users