Commit 970a94114be5f816d464457656bc9daed156b990

  • avatar
  • Gisle Aas (Committer)
  • Wed Sep 24 18:30:35 CEST 2008
  • avatar
  • Bron Gondwana <brong @fast…il.fm> (Author)
  • Wed Sep 24 18:30:35 CEST 2008
Double-check that username or password has changed after a failed login.
  
4545 return $response;
4646 }
4747
48 # XXXX check for repeated fail
48 # check that the password has changed
49 my ($olduser, $oldpass) = $ua->credentials($host_port, $realm);
50 return $response if (defined $olduser and defined $oldpass and
51 $user eq $olduser and $pass eq $oldpass);
4952
5053 $ua->credentials($host_port, $realm, $user, $pass);
5154 add_path($h, $url->path) unless $proxy;