mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-14 04:16:54 +01:00
refactor: [WIP] Improve form building.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -72,7 +72,7 @@ final class SaveCopyController extends AccountControllerBase
|
||||
public function saveCopyAction(): ?bool
|
||||
{
|
||||
try {
|
||||
$this->accountForm->validate(ActionsInterface::ACCOUNT_CREATE);
|
||||
$this->accountForm->validateFor(ActionsInterface::ACCOUNT_CREATE);
|
||||
|
||||
$accountId = $this->accountService->create($this->accountForm->getItemData());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user