Skip to content

Commit

Permalink
[TASK] Use getRequest function from AbstractValidator
Browse files Browse the repository at this point in the history
  • Loading branch information
derhansen committed Jul 4, 2024
1 parent 9ca8eb8 commit bea3628
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Classes/Validation/Validator/ChangePasswordValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,4 @@ protected function getFrontendUser(): AbstractUserAuthentication
{
return $this->getRequest()->getAttribute('frontend.user');
}

protected function getRequest(): ServerRequestInterface
{
return $GLOBALS['TYPO3_REQUEST'];
}
}

0 comments on commit bea3628

Please sign in to comment.