Skip to content

Commit

Permalink
Merge pull request #16 from Mansouri-Adel/master
Browse files Browse the repository at this point in the history
Fix deprecated code on UwAuthSubscriber.php
  • Loading branch information
tkiehne authored Jan 9, 2024
2 parents f3f0fc2 + e8fa862 commit a540550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventSubscriber/UwAuthSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ private function redirectUser(): RedirectResponse {
// Disable Page Cache to prevent redirect response from being cached.
$this->killSwitch->trigger();
$current_uri = $this->requestStack->getCurrentRequest()->getRequestUri();
return LocalRedirectResponse::create($current_uri);
return new LocalRedirectResponse($current_uri);
}

/**
Expand Down

0 comments on commit a540550

Please sign in to comment.