Apache-AuthCookie.patch 536 B

1234567891011121314
  1. --- Apache-AuthCookie-3.04/AuthCookie.pm.orig Wed Sep 25 18:44:31 2002
  2. +++ Apache-AuthCookie-3.04/AuthCookie.pm Fri Jan 31 10:51:09 2003
  3. @@ -71,8 +71,8 @@
  4. unless (exists $args{'destination'}) {
  5. $r->log_error("No key 'destination' found in form data");
  6. - $r->subprocess_env('AuthCookieReason', 'no_cookie');
  7. - return $auth_type->login_form;
  8. + my $default_destination = $self->default_destination();
  9. + $args{'destination'} = $default_destination;
  10. }
  11. # Get the credentials from the data posted by the client