[pmwiki-users] AuthUser and action=attr
Patrick R. Michaud
pmichaud at pobox.com
Mon Dec 12 09:06:46 CST 2005
On Mon, Dec 12, 2005 at 09:42:12AM -0500, Benoit Pruneau wrote:
> This is a part of my config.php file:
> ---
> $AuthUser['htpasswd'] = 'local/.htpasswd';
> include_once('scripts/authuser.php');
> $DefaultPasswords['edit'] = 'id:admin';
> $DefaultPasswords['upload'] = crypt('secret');
> ---
> I try to do an ?n=Main.HomePage&action=attr and it shows me a login form.
> Nice. I know that edit password is for attr too. But the admin login
> doesn't work, even it works for action=edit.
>
> Can you help me? I use AuthUser and HtpasswdForm.php.
What version of PmWiki?
Also, note that the Main group has an explicit attr password (in
Main.GroupAttributes) that overrides any default passwords.
This is being changed in 2.1.beta15, so try removing the
wikilib.d/Main.GroupAttributes file and see if things work as you
expect.
Pm
More information about the pmwiki-users
mailing list