[pmwiki-users] AuthUser login automated

Helge Larsen hal at post4.tele.dk
Wed Aug 2 13:05:53 CDT 2006

Hello Pm

>> What do I do to make the login work, when I have the username and
>> password in local variables ?
>SessionAuth($pagename, array('authid' => $username));

This works fine.

I have olso tried calling:
	AuthUserId($pagename, $username);

This also works.

The main difference between them is $_SESSION['authlist'] which is not
set in the first case. What is that variable used for ?

Helge Larsen

More information about the pmwiki-users mailing list