Changeset 239 for branches


Ignore:
Timestamp:
04/19/05 12:58:41 (20 years ago)
Author:
Kris Deugau
Message:

/branches/acl

Bugfix for loading preexisting .htpasswd users - chomp the
newline from the password.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/acl/cgi-bin/admin.cgi

    r226 r239  
    279279  open HTPASS, "<../../.htpasswd" or carp "BOO! No .htpasswd file!";
    280280  while (<HTPASS>) {
     281    chomp;
    281282    my ($username,$encpwd) = split /:/;
    282283    $sth->execute($username);
Note: See TracChangeset for help on using the changeset viewer.