Add the definitions for the Repository classes, need to use them in the bootstrap class.
This commit is contained in:
parent
d8b21b8a85
commit
fc18781964
@ -94,6 +94,12 @@ class Bootstrap
|
||||
},
|
||||
ResponseFactoryInterface::class => function (ContainerInterface $container) {
|
||||
return new ResponseFactory();
|
||||
},
|
||||
UserRepositoryInterface::class => function (ContainerInterface $container) {
|
||||
return new UserRepository(
|
||||
$container->get(DatabaseConnectionInterface::class),
|
||||
$container->get(UserAuthorizationInterface::class)
|
||||
);
|
||||
}
|
||||
]);
|
||||
|
||||
|
@ -16,8 +16,8 @@
|
||||
<input name="password" type="password" required>
|
||||
</div>
|
||||
<div>
|
||||
<label for="check_password">Confirm Password<br>
|
||||
<input name="check_password" type="password" required>
|
||||
<label for="checked_password">Confirm Password<br>
|
||||
<input name="checked_password" type="password" required>
|
||||
</div>
|
||||
<div>
|
||||
<input type="submit" label="Submit">
|
||||
|
Loading…
Reference in New Issue
Block a user