Skip to content

Instantly share code, notes, and snippets.

View Nugjii's full-sized avatar

Nurbol Nugjii

View GitHub Profile
@florentdestremau
florentdestremau / NewPasswordType.php
Last active August 1, 2024 15:14
A simple User authentication setup to copy & paste into your Symfony 3.4 install
<?php
namespace AppBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\PasswordType;
use Symfony\Component\Form\Extension\Core\Type\RepeatedType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\Component\Form\FormBuilderInterface;