<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks a lot, it was Main.GroupAttributes... It's working now.<br>
<br>
Thanks again for your rapidity!<br>
<br>
Have a nice day!<br>
<br>
Patrick R. Michaud a écrit :
<blockquote cite="mid20051212150646.GD24897@host.pmichaud.com"
type="cite">
<pre wrap="">On Mon, Dec 12, 2005 at 09:42:12AM -0500, Benoit Pruneau wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> 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.
</pre>
</blockquote>
<pre wrap=""><!---->
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
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<hr><b>Benoît Pruneau</b><br>
Programmeur-analyste<br>
ICO Technologies<br>
794, 5e Rue, bureau 111<br>
Shawinigan, Québec G9N 1G1<br>
Tél.: 819-536-8383<br>
<a class="moz-txt-link-abbreviated" href="mailto:serviceico@icotech.ca">serviceico@icotech.ca</a><br>
<a class="moz-txt-link-freetext" href="http://www.icotech.ca">http://www.icotech.ca</a>
<p><br>
</p>
</div>
</body>
</html>