Fixed static analysis issues

This commit is contained in:
Jan Böhmer 2023-04-16 00:55:25 +02:00
parent d04d743520
commit 0dcdd252f5
4 changed files with 2 additions and 4 deletions

View file

@ -110,7 +110,7 @@ final class PasswordChangeNeededSubscriber implements EventSubscriberInterface
}
if (static::TFARedirectNeeded($user)) {
$this->flashBag->add('warning', 'user.2fa_needed.flash');
$flashBag->add('warning', 'user.2fa_needed.flash');
}
$event->setResponse($this->httpUtils->createRedirectResponse($request, static::REDIRECT_TARGET));