Friday, February 23, 2007, 9:53:56 PM, Hans wrote:

> Can I use authuser to require users logging in with name and password,
> without keeping  a list of user names, and hand out a general edit
> password instead? I would like the logged in user name used as $Author
> and set as author cookie.

Well I approached this with a fresh mind, and found this solution:

Edit Site.AuthForm and change

(:input text name=authid:)
to
(:input text name=author:)

Add in config.php:

$EnableAuthUser = 1;
include_once("$FarmD/scripts/author.php");

$EnableAuthUser = 1; is requird in Site.AuthForm to display the name
field, and I could have changed it to a different variable name,
but I guess it is not doing any harm either.


Hans


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to