- Added a new CSRF token verification Middleware.
- Added a new ActionLog middleware to catch every modifying request and save the changes made and the user who did. - Added a new RequestLog to catch every request made whenever required.
This commit is contained in:
1 parent
9571c6a462
commit
4b86ac9e82
42 files changed
+1331
-148
No files matched your search
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Lean\Api\Factory;
|
||||
|
||||
use DI\Attribute\Inject;
|
||||
use Lean\LanguageHandler;
|
||||
use Psr\Http\Message\ServerRequestInterface;
|
||||
|
||||
class LeanApiFormFactory implements LeanApiFormFactoryInterface
|
||||
{
|
||||
use FormFactories\DebugTrait, FormFactories\SecurityTrait;
|
||||
|
||||
#[Inject]
|
||||
protected ServerRequestInterface $request;
|
||||
|
||||
#[Inject]
|
||||
protected LanguageHandler $languageHandler;
|
||||
|
||||
#[Inject]
|
||||
protected MessageFactoryInterface $messageFactory;
|
||||
}
|
||||
Reference in new issue
Block a user