Changeset 13812 for trunk/core/lib/Foswiki/Users/HtPasswdUser.pm
- Timestamp:
- 01/24/12 09:31:53 (4 months ago)
- File:
-
- 1 edited
-
trunk/core/lib/Foswiki/Users/HtPasswdUser.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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.
