mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-31 07:09:45 +02:00
Fixed static analysis issues
This commit is contained in:
parent
d04d743520
commit
0dcdd252f5
4 changed files with 2 additions and 4 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue