mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-12 11:26:55 +01:00
refactor: [WIP] Improve form building.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -384,7 +384,7 @@ final class PublicLinkController extends ControllerBase implements CrudControlle
|
||||
}
|
||||
|
||||
$form = new PublicLinkForm($this->dic);
|
||||
$form->validate(ActionsInterface::PUBLICLINK_CREATE);
|
||||
$form->validateFor(ActionsInterface::PUBLICLINK_CREATE, null);
|
||||
|
||||
$this->publicLinkService->create($form->getItemData());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user