You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
536 B

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