- Issue created by @relisiuol
- Issue was unassigned.
- Status changed to Needs review
7 months ago 12:47pm 8 April 2024 - 🇮🇳India sarwan_verma
Hi @relisiuol,
I have fixed this issue "Password Policy & Masquerade support" and also attached patch,
kindly review and verify . Hi sarwan_verma,
Sadly your fix is not working because, as I said in my report, $masquerade variable in constructor is not null.
Best regards,
- Status changed to Closed: works as designed
7 months ago 10:08am 9 April 2024 - 🇮🇳India pratishjha
The patch is not working. Still getting the error
The website encountered an unexpected error. Please try again later. Error: Call to undefined method Drupal\Core\Http\RequestStack::isMasquerading() in Drupal\password_policy\EventSubscriber\PasswordPolicyEventSubscriber->checkForUserPasswordExpiration() (line 118 of modules\contrib\password_policy\src\EventSubscriber\PasswordPolicyEventSubscriber.php).
Do we have any solution for this?
Hi pratishjha,
I have the same error as yours.
I just ran:
composer require 'drupal/masquerade:^2.0@RC'
and that solves my problem- 🇫🇷France canardesign Montpellier
Not working for me either, should we downgrade password_policy ?