Skip to content

Commit

Permalink
Item12381: htpasswd fields were not being checked.
Browse files Browse the repository at this point in the history
Case sensitive test in Foswiki.spec
  • Loading branch information
gac410 committed Feb 8, 2015
1 parent a679185 commit ce1cc17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/lib/Foswiki.spec
Expand Up @@ -641,14 +641,14 @@ $Foswiki::cfg{PasswordManager} = 'Foswiki::Users::HtPasswdUser';
# If you want to allow null passwords, set this to 0.
$Foswiki::cfg{MinPasswordLength} = 7;
# **PATH LABEL="Password Filename" DISPLAY_IF="/htpasswd/i.test({PasswordManager})" CHECK="iff:'{PasswordManager}=~/htpasswd/'"**
# **PATH LABEL="Password Filename" DISPLAY_IF="/htpasswd/i.test({PasswordManager})" CHECK="iff:'{PasswordManager}=~/htpasswd/i'"**
# Path to the file that stores passwords, for the Foswiki::Users::HtPasswdUser
# password manager. You can use the =htpasswd= Apache program to create a new
# password file with the right encoding, however use caution, as it will remove
# email addresses from an existing file.
$Foswiki::cfg{Htpasswd}{FileName} = '$Foswiki::cfg{DataDir}/.htpasswd';
# **PATH LABEL="Password Lock-Filename" EXPERT DISPLAY_IF="/htpasswd/i.test({PasswordManager})" CHECK="iff:'{PasswordManager}=~/htpasswd/'"**
# **PATH LABEL="Password Lock-Filename" EXPERT DISPLAY_IF="/htpasswd/i.test({PasswordManager})" CHECK="iff:'{PasswordManager}=~/htpasswd/i'"**
# Path to the lockfile for the password file. This normally does not need
# to be changed; however if two Foswiki installations share and update a
# common password file it is critical that both use the same lockfile.
Expand All @@ -672,7 +672,7 @@ $Foswiki::cfg{Htpasswd}{GlobalCache} = $FALSE;
# if Foswiki is running in a =mod_perl= or =fcgi= envinroment.
$Foswiki::cfg{Htpasswd}{DetectModification} = $FALSE;
# **SELECT bcrypt,'htdigest-md5','apache-md5',sha1,'crypt-md5',crypt,plain LABEL="Password Encoding" DISPLAY_IF="/htpasswd/i.test({PasswordManager})" CHECK="iff:'{PasswordManager}=~/htpasswd/'"**
# **SELECT bcrypt,'htdigest-md5','apache-md5',sha1,'crypt-md5',crypt,plain LABEL="Password Encoding" DISPLAY_IF="/htpasswd/i.test({PasswordManager})" CHECK="iff:'{PasswordManager}=~/htpasswd/i'"**
# Password encryption, for the =Foswiki::Users::HtPasswdUser= password
# manager. This specifies the type of password hash to generate when
# writing entries to =.htpasswd=. It is also used when reading password
Expand Down

0 comments on commit ce1cc17

Please sign in to comment.