Skip to content

Commit

Permalink
Fix for Ticket #69 - Loss of username/password during a forwarded req…
Browse files Browse the repository at this point in the history
…uest
  • Loading branch information
KrisJordan committed Feb 16, 2009
1 parent d938e84 commit 2131467
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recess/lib/recess/Recess.class.php
Expand Up @@ -55,6 +55,9 @@ public static function main(Request $request, IPolicy $policy, array $apps, RtNo
}

$forwardRequest->cookies = $response->request->cookies;
$forwardRequest->username = $response->request->username;
$forwardRequest->password = $response->request->password;

$cookies = $response->getCookies();
if(is_array($cookies)) {
foreach($response->getCookies() as $cookie) {
Expand Down

0 comments on commit 2131467

Please sign in to comment.