When I try to log in on Drupal 8.4.1, I am getting this error:

The website encountered an unexpected error. Please try again later.
Error: Call to a member function hasPermission() on string in Drupal\passwordless\Controller\PasswordlessController->sentPage() (line 68 of modules/contrib/passwordless/src/Controller/PasswordlessController.php).

Patch incoming.

Comments

ptmkenny created an issue. See original summary.

ptmkenny’s picture

Here's the patch.

ptmkenny’s picture

Status: Active » Needs review
hirvinen’s picture

Status: Needs review » Reviewed & tested by the community

The provided patch fixes the issue. This issue is a duplicate of https://www.drupal.org/project/passwordless/issues/2906116

  • antiorario committed e713401 on 8.x-1.x authored by ptmkenny
    Issue #2921505 by ptmkenny: PasswordlessController->sentPage is breaking...
antiorario’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.