[pmwiki-users] Need advice for AuthUser

Ian MacGregor ardchoille42 at gmail.com
Wed Sep 5 19:56:47 CDT 2012


I'm using AuthUser on my site and have various forms that visitors can use
to add content (blog coments, etc.).

It appears that any visitor can add any name they want into any author
field and save the page. I'd like to be able to block visitors from being
able to use a certain name in the author field so that my name doesn't
appear in the page history for someone else's edits.

I have this in my config.php file (after including the authuser.php script):
## Automatically set the author field if user is logged in
if (@$AuthId) $Author = 'Ian MacGregor';

What can I add to my config.php file so that nobody else can use my name
(Ian MacGregor)?

-- 
Regards,
Ian MacGregor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20120905/846b0ae8/attachment.html>


More information about the pmwiki-users mailing list