X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FAuthentication%2FCredential%2FFBConnect.pm;fp=lib%2FCatalyst%2FAuthentication%2FCredential%2FFBConnect.pm;h=5ad90b84261205bdae8e4e99c0f359b08b268dd0;hb=7bbc3e953f7dac3549f36153e0902fb3a2092121;hp=6d549ef514bbff01cba018e6e2a3e3b9b53c639e;hpb=b42cdcea556e5ba06e1024c64f560823affcf8d9;p=catagits%2FCatalyst-Authentication-Credential-FBConnect.git diff --git a/lib/Catalyst/Authentication/Credential/FBConnect.pm b/lib/Catalyst/Authentication/Credential/FBConnect.pm index 6d549ef..5ad90b8 100644 --- a/lib/Catalyst/Authentication/Credential/FBConnect.pm +++ b/lib/Catalyst/Authentication/Credential/FBConnect.pm @@ -58,7 +58,7 @@ sub authenticate { } else { - $c->res->redirect( $self->fbconnect->get_login_url( next => $c->uri_for( $c->action ) ) ); + $c->res->redirect( $self->fbconnect->get_login_url( next => $c->uri_for( $c->action, $c->req->captures, @{ $c->req->args } ) ) ); } }