@@ -54,8 +54,7 @@ |
||
| 54 | 54 | if (!$this->authorizationChecker->isGranted('ROLE_ADMIN')) { |
| 55 | 55 | return; |
| 56 | 56 | } |
| 57 | - } |
|
| 58 | - catch (AuthenticationCredentialsNotFoundException $e) { |
|
| 57 | + } catch (AuthenticationCredentialsNotFoundException $e) { |
|
| 59 | 58 | return; |
| 60 | 59 | } |
| 61 | 60 | |
@@ -165,7 +165,7 @@ |
||
| 165 | 165 | $request = new Request(); |
| 166 | 166 | $response = new Response( |
| 167 | 167 | '<body></body>', |
| 168 | - 200, |
|
| 168 | + 200, |
|
| 169 | 169 | ['Content-Type' => 'text/html'] |
| 170 | 170 | ); |
| 171 | 171 | |