Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the Eventsubscriber there is a list of user pages to be excluded from the module but this does not include the route 'user.reset.login'.
Comment | File | Size | Author |
---|---|---|---|
#4 | require_login-password_reset-2866004-4.patch | 753 bytes | gmaxwelled |
#2 | require_login-password_reset-2866004-2-D8.patch | 743 bytes | jamiehollern |
Comments
Comment #2
jamiehollernAdded patch.
Comment #3
TommyK CreditAttribution: TommyK as a volunteer and commentedWould we need to include all the reset password link paths? Looking in the user module there are a number of
user.reset
routes.Maybe something like:
substr($route_name, 0, 10) === 'user.reset')
Comment #4
gmaxwelled CreditAttribution: gmaxwelled commentedCombining the original patch with TommyK's suggestion does the trick for me. Here is an updated patch.
Also changing priority to Major, as this bug prevents users from using the forgotten password functionality.
Comment #5
Arrow#4 did the trick for me!
Comment #6
gigiabba CreditAttribution: gigiabba at Ibuildings commentedPlease apply the patch. #RTBC
Comment #7
dqdWe need maintainer action here and on other 8.x issues. I will contact robphillips or Jeffrey C. to get commit access. Let's make this module ready for the ride ...
Comment #8
robphillips CreditAttribution: robphillips commentedHello. I've recently been occupied with client work, so my apologies for lack of maintenance releases. I'll be reviewing issues today and will determine if an additional maintainer will be necessary. In terms of a roadmap, aiming to have a new beta release ready by EOD.
Comment #9
robphillips CreditAttribution: robphillips commentedI'm unable to replicate this issue with Drupal 8.5.3. Furthermore, the $route_name given on the reset password page is "user.pass". The "user.pass" route is already excluded from the access restrictions. If anyone reports this issue again, please provide additional information for replication purposes (Drupal version, contrib modules, theme, etc).
Comment #10
dqd@robphillips: Great to have you back.
No need to apologize. Thanks for clarification. Absolutely understandable reasons. Thanks for chiming in and having a look. Don't worry. It is all about the interest getting Drupal 8 contrib area ready ;-) We will help if required.
@robphillips: Did you made enough tests and can you confirm that you have no issues with the usability like the test of #4 is mentioning?
Comment #11
robphillips CreditAttribution: robphillips commentedComment #13
robphillips CreditAttribution: robphillips commentedPatch #4 committed. I was previously only testing access to the reset password form. I found that "user.reset" route name is used when clicking the reset password email confirmation link. New release will be out shortly.
Comment #14
robphillips CreditAttribution: robphillips commentedComment #15
dqd1+! Awesome work on this, Rob.