[pmwiki-users] Renaming and Password

Petko Yotov 5ko at free.fr
Wed Feb 14 19:22:18 CST 2007


On Thursday 15 February 2007 01:39, Thierry - Listes wrote:
> Hello,
>
> As described in http://www.pmwiki.org/wiki/PmWiki/PasswordsAdmin
> I tried to set a password for 'rename' action :
>
> ## Activate the RenamePage recipe.
> if ($action == 'rename' || $action == 'postrename' || $action == 'links' )
> { include_once("$FarmD/cookbook/renamehelper.php");
>   include_once("$FarmD/cookbook/rename.php");
> }
> $DefaultPasswords['rename'] = crypt('...');
> # Tell PmWiki that the 'rename' password allows action 'rename'.
> $HandleAuth['rename'] = 'rename';
>
>
> But it doesn't work (no password is required).
> What am I doing wrong ?

It asks a password, I just checked. You may be allready logged with an 
administrator password. Try to logout like this:

http://www.adelinapi.org/wiki/index.php?n=Accueil.Pr%e9sentation?action=logout

And then retest it:

http://www.adelinapi.org/wiki/index.php?n=Accueil.Pr%e9sentation?action=rename

Petko




More information about the pmwiki-users mailing list