[pmwiki-users] AuthUser login automated

The Editor editor at fast.st
Sun Jul 30 13:21:06 CDT 2006


Actually, this is quite interesting.  I'm thinking about using a
different system for my members login, which would allow me to
authenticate members without using a .htpasswd file.

In other words, I would have a form which requests a username and
password.  On submit, it retrieves password data from page
"membersdata.<username>" and if it matches what was entered, the user
is authenticated with that username.

The FAST Data recipe (coming soon) will make this kind of password
checking very easy, among other thngs, but I would like to know how to
do automatic login as you describe. If you find the answer, please
post back here.

Cheers,
Caveman



On 7/30/06, Helge Larsen <hal at post4.tele.dk> wrote:
> Hello
>
> 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 ?
>
> --
> Regards
> Helge Larsen
>




More information about the pmwiki-users mailing list