Skip to content

Commit e7d40f2

Browse files
committed
Exception handler return response object.
1 parent ef944f1 commit e7d40f2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/NotAuthorizedExceptionAgent.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ private function handleException(NotAuthorizedException $exception): Response
8181
// Redirect the user agent to the login page. After the user has successfully logged on the user agent will be
8282
// redirected to currently requested URL.
8383
$response = new SeeOtherResponse($this->nub->getLoginUrl($this->nub->request->getRequestUri()));
84-
$response->send();
8584
}
8685
else
8786
{

0 commit comments

Comments
 (0)