Implement account creation; add base class FormData to validate forms
This commit is contained in:
parent
23127dd193
commit
48925f283f
13 changed files with 392 additions and 96 deletions
|
|
@ -145,14 +145,13 @@ class Dependencies
|
|||
$c->get(SessionHelper::class),
|
||||
$c->get(UserHelper::class),
|
||||
$c->get(AccountHandler::class),
|
||||
$c->get(AccountRepository::class),
|
||||
$c->get(AliasRepository::class),
|
||||
);
|
||||
});
|
||||
$container->set(AccountHandler::class, function (ContainerInterface $c) {
|
||||
return new AccountHandler(
|
||||
$c->get(AccountRepository::class),
|
||||
$c->get(AliasRepository::class),
|
||||
$c->get(DomainRepository::class),
|
||||
$c->get(PasswordHelper::class),
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue