[pmwiki-users] Problem with RequireAuthor

Didier HALATRE didier.halatre at free.fr
Thu Mar 29 12:41:05 CDT 2012


Hello,
I have installed the last version 2.2.36
And make the indications of the page :http://www.pmwiki.org/wiki/Cookbook/RequireAuthor

Add in config.php in local :

   $EnablePostAuthorRequired = 1;

and

     # Force author name to match login name
     include_once("scripts/authuser.php");
     if (@$AuthId) $Author = $AuthId;

I also add :

$DefaultPasswords['read'] = 'id:*';
$DefaultPasswords['edit'] = 'id:*';

The fisrt time I invoke the wiki, I go in the identification page. I input the name and the password and all is OK but $AuthId is empty.

May be I forget something ?

Thanks by advance
Didier




More information about the pmwiki-users mailing list