Commit 049df70e authored by Christophe Maudoux's avatar Christophe Maudoux

Erase sessionInfo if spoofed identity is not allowed (#1664)

parent dfd286c9
......@@ -156,7 +156,7 @@ sub _userDatas {
'Impersonation requested for an unvalid user ('
. $req->{user}
. ")" );
$req->sessionInfo = {};
$self->logger->debug('Identity not authorized');
return $req->error(PE_BADCREDENTIALS);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment