src/Admin/Modules/User/Controller/SecurityController.php line 12
<?phpnamespace App\Admin\Modules\User\Controller;use Symfony\Component\HttpFoundation\Request;use Symfony\Component\Security\Http\Authentication\AuthenticationUtils;use App\Admin\Controller\BaseController;use App\Admin\Modules\User\Form\LoginType;class SecurityController extends BaseController{public function login(Request $request, AuthenticationUtils $authenticationUtils){$error = $authenticationUtils->getLastAuthenticationError();$lastUsername = $authenticationUtils->getLastUsername();$form = $this->createForm(LoginType::class);$targetPath = $request->getSession()->get('_security.admin.target_path', $this->generateUrl('admin_index'));return $this->render('Admin/Modules/User/Templates/Security/login.html.twig', array('last_username' => $lastUsername,'error' => $error,'form' => $form->createView(),'targetPath' => $targetPath));}}