Login does not work in combination with multiple registration

Created on 23 April 2020, about 4 years ago
Updated 11 February 2023, over 1 year ago

Hi there

When I use this module and also render the login form on the same page,the login form does not work.
I use this code to get the login form and put it in the template

if (\Drupal::currentUser()->isAnonymous()) {
    $form = Drupal::formBuilder()->getForm(Drupal\user\Form\UserLoginForm::class) ;
    $variables['login_form'] = $form;
  }

It look like there is a redirect when submitting (see attached image)

Does anyone have any idea why this is not working

πŸ› Bug report
Status

Fixed

Version

2.89

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands Roderik de Langen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024