[pmwiki-users] Urgent HELP regarding PMWIKI User ID Problem

Patrick R. Michaud pmichaud at pobox.com
Thu Jun 30 09:36:44 CDT 2005


On Wed, Jun 29, 2005 at 01:42:56PM +0100, Hans wrote:
> Wednesday, June 29, 2005, 11:31:48 AM, Saran wrote:
> > Task 1: I have included the following line in config.php
> > include_once('scripts/authuser.php');
> 
> > Task 2: Included these 2 lines in config.php
> > $AuthUser['bart'] = crypt('bartspassword');
> > $Authuser['nancy'] = crypt('nancyspassword');
> 
> The lines of Task 2 should come **before** the line of task 1 in
> config.php.
> 
> The fact that you do not get  a prompt can mean two different things:
> a) you are in fact logged in and authorised. So to test this you would
> need to log out.
> b) pmwiki does not load the authuser.php module. You need to have at
> least pmwiki 2 beta39 installed, better pmwiki 2 beta 40.

It can also mean

   c) none of the pages have any sort of protection on them (e.g.,
      via $DefaultPasswords[] or ?action=attr).

As others have mentioned, defining usernames and passwords doesn't
automatically protect the pages -- one also has to tell PmWiki which
pages and actions need to be protected.

Pm



More information about the pmwiki-users mailing list