Skip to content
Snippets Groups Projects

Issue #3395056 by ELC: Revert 8.x-1.x branch to D8 compatible

5 files
+ 21
11
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -540,7 +540,7 @@ class TicketValidationController implements ContainerInjectionInterface {
$event = new CASAttributesAlterEvent($account, $ticket);
$this->eventDispatcher->dispatch($event, CASAttributesAlterEvent::CAS_ATTRIBUTES_ALTER_EVENT);
$this->eventDispatcher->dispatch(CASAttributesAlterEvent::CAS_ATTRIBUTES_ALTER_EVENT, $event);
$attributes = $event->getAttributes();
if ($format == 'xml') {
@@ -596,7 +596,7 @@ class TicketValidationController implements ContainerInjectionInterface {
$account = $this->loadUser($ticket->getUid());
$event = new CASAttributesAlterEvent($account, $ticket);
$this->eventDispatcher->dispatch($event, CASAttributesAlterEvent::CAS_ATTRIBUTES_ALTER_EVENT);
$this->eventDispatcher->dispatch(CASAttributesAlterEvent::CAS_ATTRIBUTES_ALTER_EVENT, $event);
if ($format == 'xml') {
$response_text = "<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
Loading