mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-07 17:06:54 +01:00
refactor: [WIP] Improve form building.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -73,7 +73,7 @@ final class SaveCreateController extends AccountControllerBase
|
||||
public function saveCreateAction(): ?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