Wrong argument type in OtpRedirectSubscriber

Created on 31 May 2023, over 1 year ago
Updated 15 February 2024, 9 months ago

Problem/Motivation

After enabling this module, I'm getting this error on every page:

Drupal\email_login_otp\EventSubscriber\OtpRedirectSubscriber::loginRedirect(): Argument #1 ($event) must be of type Symfony\Component\EventDispatcher\Event, Symfony\Component\HttpKernel\Event\RequestEvent given

Proposed resolution

The parameter type should be fixed.

🐛 Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

🇫🇷France prudloff Lille

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

Comments & Activities

Production build 0.71.5 2024