Clear pdata when redirecting in CAS gateway mode (#1528)

This commit is contained in:
Clément OUDOT 2018-10-29 07:45:57 +01:00
parent 412284cd00
commit 0839c9e3fd

View File

@ -58,6 +58,7 @@ sub storeEnvAndCheckGateway {
$self->logger->debug(
"Gateway mode requested, redirect without authentication");
$req->response( [ 302, [ Location => $service ], [] ] );
$req->pdata( {} );
return PE_SENDRESPONSE;
}