[pmwiki-users] HtpasswdForm doesn't work, why?

Dominique Faure dominique.faure at gmail.com
Thu May 18 17:12:55 CDT 2006

On 5/18/06, Benoît Pruneau <webmaster at mediapublinet.net> wrote:
> I made a page with the name "Main.Logins" with "(:htpasswdform:)" as
> content.
> In my /local/config.php I have this:
> -------------------------
> require_once("cookbook/userauth.php");
> -------------------------

HtpasswdForm recipe was originally designed to work with PmWiki
"native" AuthUser, but it should work with UserAuth if you provides
the required parts (untested solution):

#Fichier .htpasswd
$AuthUser['htpasswd'] = "config/.htpasswd";
if(!function_exists('_crypt')) {
 /* copy-paste here the _crypt() function defined in
'scripts/authuser.php' file*/
#Form to manage passwords


More information about the pmwiki-users mailing list