Skip to content

Commit

Permalink
Merge pull request #73 from Webmecanik/master
Browse files Browse the repository at this point in the history
Support for Symfony 4.1
  • Loading branch information
tmilos authored Nov 13, 2019
2 parents b1c53da + bd62c6a commit 2150175
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/LightSaml/SpBundle/Controller/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function discoveryAction()
return $this->redirect($this->generateUrl('lightsaml_sp.login', ['idp' => $parties[0]->getEntityID()]));
}

return $this->render('LightSamlSpBundle::discovery.html.twig', [
return $this->render('@LightSamlSp/discovery.html.twig', [
'parties' => $parties,
]);
}
Expand All @@ -60,7 +60,7 @@ public function sessionsAction()
{
$ssoState = $this->get('lightsaml.container.build')->getStoreContainer()->getSsoStateStore()->get();

return $this->render('LightSamlSpBundle::sessions.html.twig', [
return $this->render('@LightSamlSp/sessions.html.twig', [
'sessions' => $ssoState->getSsoSessions(),
]);
}
Expand Down
8 changes: 4 additions & 4 deletions src/LightSaml/SpBundle/Resources/config/routing.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
lightsaml_sp.metadata:
path: /metadata.xml
defaults: { _controller: LightSamlSpBundle:Default:metadata }
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::metadataAction }

lightsaml_sp.discovery:
path: /discovery
defaults: { _controller: LightSamlSpBundle:Default:discovery }
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::discoveryAction }

lightsaml_sp.login:
path: /login
defaults: { _controller: LightSamlSpBundle:Default:login }
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::loginAction}

lightsaml_sp.login_check:
path: /login_check

lightsaml_sp.sessions:
path: /sessions
defaults: { _controller: LightSamlSpBundle:Default:sessions }
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::sessionsAction }

0 comments on commit 2150175

Please sign in to comment.