Added login and logout forms

This commit is contained in:
Kevin Frantz
2018-07-15 09:11:17 +02:00
parent c67078f88f
commit 9dddf13ac1
6 changed files with 46 additions and 6 deletions

View File

@@ -1,21 +1,27 @@
<?php
namespace controller\user;
use controller\AbstractDefaultController;
/**
*
* @author kevinfrantz
*
*/
final class User implements UserInterface
final class User extends AbstractDefaultController implements UserInterface
{
public function logout(): void
{}
public function login(): void
{}
{
$this->render('user/login.html.twig');
}
public function register(): void
{}
{
$this->render('user/register.html.twig');
}
}