Expand user and allow everybody to register

Automatically login after registering
This commit is contained in:
Tim
2023-04-03 22:19:28 +02:00
parent 5be77eeba1
commit bf83e5aabd
8 changed files with 161 additions and 3 deletions

20
src/Entity/Email.php Normal file
View File

@ -0,0 +1,20 @@
<?php
namespace App\Entity;
use App\Repository\EmailRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: EmailRepository::class)]
class Email
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
public function getId(): ?int
{
return $this->id;
}
}