On 2009-02-09 7:28 PM, akimbomidget wrote:
> From: *akimbomidget* <[email protected] 
> <mailto:[email protected]>>
> Date: Tue, Feb 10, 2009 at 2:06 AM
> Subject: I cannot get the sitewide password to work for pmwiki
> To: [email protected] <mailto:[email protected]>
> 
> 
> I've been trying  for hours to get a simple task to work in my site 
> http://reactiveframes.com/wiki/
> 
> Essentially i've been trying to get pmwiki to prevent anyone without the 
> password from editing it.
> 
> Despite putting this
> 
> $DefaultPasswords['admin'] = crypt('A example password');
> 
> into config.php
> 
> it still doesn't ask me for a password to edit...

...snip...

You need to set a default edit password as in:

$DefaultPasswords['edit'] = crypt('A example password');

Or if you only want the admin to be able to edit, then set:

$DefaultPasswords['admin'] = crypt('A example password');
$DefaultPasswords['edit'] = '*';

This does not set the edit password to '*', rather it sets the crypted 
value of the password to '*', but crypt will never return a one 
character value. So the effect is that no-one can edit, except for the 
admin.


-- 
Neil Herber

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to