Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Feb 9, 2023
1 parent 5ead7f4 commit 0579806
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function process(GetResponseEvent $event)
$request = $event->getRequest();

// if the current request was not a GET request we cannot safely redirect to that page after login as it
// may require a form resubmit for instance. Therefor, we redirect to the last GET request (either current
// may require a form resubmit for instance. Therefore, we redirect to the last GET request (either current
// or previous).
$afterLoginRedirectTo = $this->authenticatedSession->getCurrentRequestUri();
if ($event->getRequest()->getMethod() === 'GET') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function authenticate(TokenInterface $token)
// if no credentials can be found, we're done.
if (!$profile->isSraa && empty($profile->authorizations) && empty($profile->management)) {
throw new UserNotRaException(
'The Identity is not registered as (S)RA(A) and therefor does not have access to this application'
'The Identity is not registered as (S)RA(A) and therefore does not have access to this application'
);
}

Expand Down

0 comments on commit 0579806

Please sign in to comment.