Problem/Motivation
Tested on a fresh Drupal 10.0.2 installation. Following the one-time login link, entering passwords and clicking "Log in" leads to /user/reset/*/*/login page that says "client error".
According error log message:
Symfony\Component\HttpKernel\Exception\BadRequestHttpException: Input value "pass" contains a non-scalar value. in Symfony\Component\HttpKernel\HttpKernel->handle() (line 81 of /home/webmaster/drupal-bare/vendor/symfony/http-kernel/HttpKernel.php).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3339057-3.patch | 817 bytes | norman.lol |
Comments
Comment #2
norman.lolYes, indeed. I can reproduce this. I also seemed as if I was not completely logged in at first. When I visited the front page after PW reset I got logged out again. After resetting password again this didn't happen again. Though when logging out I sometimes got "To log in to this site, your browser must accept cookies from the domain my-drupal10-site.ddev.site." error message. But this also seems to stop after a few times.
Happens with both D 10.0.2/10.0.3 and PRLP 8.x-1.8/8.x-1.x-dev.
Comment #3
norman.lolI don't know how backwards compatible this is. Needs a bit of research/testing. But I'm too tired now. Let's continue tomorrow.
Comment #4
norman.lolComment #5
hf_3d commentedThanks, #3 seems to do the trick.
Comment #6
norman.lolYo, seems this fix also works with Symfony 4 in Drupal 9. Got it up and running and could log-in+reset without any problem.
I'm committing this now and release it.
Comment #8
norman.lol