[pmwiki-users] Problem with RequireAuthor
Didier HALATRE
didier.halatre at free.fr
Thu Mar 29 15:41:52 CDT 2012
Le 29/03/2012 20:08, tamouse mailing lists a écrit :
> On Thu, Mar 29, 2012 at 12:41 PM, Didier HALATRE<didier.halatre at free.fr> wrote:
>> 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 ?
>
> Probably a silly question, but did you put a user/password in
> SiteAdmin.AuthUser?
Hello,
In the documentation, it's in Site.AuthUser.
I try with SiteAdmin.AuthUser and there is the same result.
The login is OK. But the $AuthId is empty :-(
Didier
$AuthId is empty.
More information about the pmwiki-users
mailing list