Question
Hi - I have successfully installed twiki (sep 04) and set up basic authentification with the session plugin.
However i have just noticed that when i create a new user via twiki regsitration it makes a username entry to my htpasswd file but does not make an encrypted password entry? The entry is blank for example:
"RobertBruce:"
Here is the password entry from my TWiki.cfg:
$htpasswdFormatFamily = "htpasswd";
if( $OS eq "WINDOWS" ) {
$htpasswdEncoding = "sha1"; #windows apache
} else {
$htpasswdEncoding = "clear";
}
# Pathname of user name/password file for authentication :
if ( $htpasswdFormatFamily eq "htpasswd" ) {
$htpasswdFilename = "$dataDir/.htpasswd";
} elsif ( $htpasswdFormatFamily eq "hdigest" ) {
$htpasswdFilename = "$dataDir/.htdigest";
}
# Authentication "realm" (must be the same as in
# password file, MUST NOT contain colons):
$authRealm = "Enter your
WikiName. (First name and last name, no space, no dots, capitalized, e.g.
JohnSmith). Cancel to register if you do not have one.";
Please let me know if anymore information would help.
Thanks,
Luke
Environment
--
LukeHinds - 16 Nov 2004
Answer