Skip to content

Commit

Permalink
sanitise response from canProcess
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Kay committed Dec 11, 2014
1 parent 35d6c36 commit 19aaafb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kernel/CubexKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function handle(
//If can process returns a response, use that to send back to the user
if($authed instanceof Response)
{
return $authed;
return $this->_sanitizeResponse($authed);
}
else if($authed !== true)
{
Expand Down

0 comments on commit 19aaafb

Please sign in to comment.