Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
43 | public function indexAction() |
||
44 | { |
||
45 | if (!$this->debug) { |
||
46 | throw new UnauthorizedHttpException('Only available in debug mode.'); |
||
47 | } |
||
48 | |||
49 | $response = new Response(); |
||
50 | $response->setContent($this->templating->render('KuleuvenAuthenticationBundle:Default:index.html.twig', [ |
||
51 | 'attributes' => $this->shibbolethServiceProvider->getAttributes(), |
||
52 | ])); |
||
53 | return $response; |
||
54 | } |
||
55 | } |
||
56 |