Changeset 13812
- Timestamp:
- 01/24/12 09:31:53 (4 weeks ago)
- Location:
- trunk/core/lib/Foswiki
- Files:
-
- 3 edited
-
Store/VC/Handler.pm (modified) (1 diff)
-
Users/ApacheHtpasswdUser.pm (modified) (1 diff)
-
Users/HtPasswdUser.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/lib/Foswiki/Store/VC/Handler.pm
r13547 r13812 916 916 if ( opendir( my $W, $web ) ) { 917 917 foreach my $f ( readdir($W) ) { 918 my $file = $web .$f;918 my $file = $web . $f; 919 919 if ( $file =~ /^(.*)\.lease$/ ) { 920 920 if ( !-e "$1.txt,v" ) { -
trunk/core/lib/Foswiki/Users/ApacheHtpasswdUser.pm
r13811 r13812 125 125 126 126 # Otherwise, log a problem. 127 $this->{session}->logger->log( 128 'warning', 129 'The password file does not exist or cannot be written.' . 130 'Run =configure= and check the setting of {Htpasswd}{FileName}.' . 131 ' New user registration has been disabled until this is corrected.'); 127 $this->{session}->logger->log( 'warning', 128 'The password file does not exist or cannot be written.' 129 . 'Run =configure= and check the setting of {Htpasswd}{FileName}.' 130 . ' New user registration has been disabled until this is corrected.' 131 ); 132 132 133 # And disable registration (and password changes) 133 134 $Foswiki::cfg{Register}{EnableNewUserRegistration} = 0; -
trunk/core/lib/Foswiki/Users/HtPasswdUser.pm
r13811 r13812 166 166 167 167 # Otherwise, log a problem. 168 $this->{session}->logger->log( 169 'warning', 170 'The password file does not exist or cannot be written.' . 171 'Run =configure= and check the setting of {Htpasswd}{FileName}.' . 172 ' New user registration has been disabled until this is corrected.'); 168 $this->{session}->logger->log( 'warning', 169 'The password file does not exist or cannot be written.' 170 . 'Run =configure= and check the setting of {Htpasswd}{FileName}.' 171 . ' New user registration has been disabled until this is corrected.' 172 ); 173 173 174 # And disable registration (which will also disable password changes) 174 175 $Foswiki::cfg{Register}{EnableNewUserRegistration} = 0; … … 417 418 418 419 close($fh); 420 419 421 # Reset the cache timestamp 420 422 $this->PasswordData($db); 421 423 $this->PasswordTimestamp( 422 424 ( stat( $Foswiki::cfg{Htpasswd}{FileName} ) )[9] ); 423 umask($oldMask); # Restore original umask425 umask($oldMask); # Restore original umask 424 426 } 425 427
Note: See TracChangeset
for help on using the changeset viewer.
