[pmwiki-users] Whole Site Unprotected - not asking for password when editing side bar etc.

Petko Yotov 5ko at 5ko.fr
Thu Mar 5 16:32:01 CST 2009

On Thursday 05 March 2009 20:45:41 Brian McKee wrote:
> I just set up a PMWiki, and it picked up my updated site title (so it
> must be seeing the updated config file) - but it's letting me edit the
> side bar without asking for a password.
>  $DefaultPasswords['admin'] = crypt('AReallyGoodPasswordIsHere.Really');

It seems you need to set an "edit" password :
  $DefaultPasswords['edit'] = crypt('myeditpass');
  $DefaultPasswords['attr'] = crypt('myattrpass');

Or, instead, lock the site for the administrator only :
  $DefaultPasswords['edit'] = $DefaultPasswords['attr'] = array('@lock');


More information about the pmwiki-users mailing list