Item10122: Warning: file .htpasswd is not found. (when not using the Foswiki::Users::HtPasswdUser password manager.)

pencil
Priority: Low
Current State: Closed
Released In: 1.1.3
Target Release: patch
Applies To: Engine
Component: Configure
Branches:
Reported By: JayenAshar
Waiting For:
Last Change By: KennethLavrsen
I have Foswiki set up using apache for authentication using an apache module. So, I have set my .htaccess appropriately and configured Foswiki as follows:
  • {LoginManager}=Foswiki::LoginManager::ApacheLogin
  • {PasswordManager}=none
  • {Htpasswd}{FileName}=$Foswiki::cfg{DataDir}/.htpasswd #unchanged
  • {Register}{EnableNewUserRegistration}=0

Foswiki gives a Warning: file .htpasswd is not found. This may be normal for a new installation. it will be created when the first user registers to the site

However, as per my setup, I will never have (nor want) a .htpasswd. Is it possible to make the warning only appear if {PasswordManager} == Foswiki::Users::HtPasswdUser?

-- JayenAshar - 06 Dec 2010

Fixed - you can dowload a new file checker here: http://trac.foswiki.org/export/10184/branches/Release01x01/core/lib/Foswiki/Configure/Checkers/Htpasswd/FileName.pm

-- GeorgeClark - 06 Dec 2010
 

ItemTemplate edit

Summary Warning: file .htpasswd is not found. (when not using the Foswiki::Users::HtPasswdUser password manager.)
ReportedBy JayenAshar
Codebase 1.1.2, 1.1.1, 1.1.0, trunk
SVN Range
AppliesTo Engine
Component Configure
Priority Low
CurrentState Closed
WaitingFor
Checkins distro:504663409e74 distro:721c57030fa4
TargetRelease patch
ReleasedIn 1.1.3
Topic revision: r5 - 16 Apr 2011, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy