Skip to content

Commit

Permalink
Added UserLoggedInEvent
Browse files Browse the repository at this point in the history
Signed-off-by: Malik <[email protected]>
  • Loading branch information
dermalikmann committed May 13, 2024
1 parent 2c7d90a commit cc40a39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Controller/SAMLController.php
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,8 @@ public function assertionConsumerService(): Http\RedirectResponse {
$response->addCookie('_shibsession_', 'authenticated');
}

$this->eventDispatcher->dispatchTyped(new UserLoggedInEvent($user, $user->getUID(), null, false));

$response->invalidateCookie('saml_data');
return $response;
}
Expand Down

0 comments on commit cc40a39

Please sign in to comment.