¡sumate a gcoop!
!atención¡ #TrabajoAr #AMBA #trabajoremoto #PHP #Symfony #Laravel #CakePHP #itjob #developers
¡Sumate a @gcooplibre! Buscamos programadorxs para trabajar en una #cooperativa de trabajo de #SoftwareLibre
Busqueda dev backend #PHP
más info https://gcoop.coop/buscando-nuevxs-socixs
Symfony headless drupal login bug
Hi,
I'm trying to build a symfony headless drupal application, i made a custom module to handle login, logout and registration process,
this is my custom module:
<?php
/**
* @file
* Contains \Drupal\remoteuser\Controller\RemoteUserController
*/
namespace Drupal\remoteuser\Controller;
use Drupal\Core\Controller\ControllerBase;
use Drupal\Core\Form\FormState;
use Drupal\Core\Entity;
use Drupal\user\Controller;
use Symfony\Component\HttpFoundation\JsonResponse;
class RemoteUserController extends ControllerBase
{
public function login() {