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.
I need to logout the user after the password reset.
Added a new checkbox field in the settings form so that this can be checked in controller.
Comment | File | Size | Author |
---|---|---|---|
#4 | prlp_user_logout_after_reset_password-3160769_4.patch | 2.66 KB | kamkejj |
#2 | prlp_user_logout_after_reset_password-3160769.patch | 1.63 KB | sorina.hriban |
Comments
Comment #2
sorina.hriban CreditAttribution: sorina.hriban commentedComment #3
kamkejj CreditAttribution: kamkejj at Nerdery commentedThis patch worked for us, but I also wanted to be able to redirect the user to a specific page after being logged out. Added to this patch that works with the current dev branch and the 8.x-1.7 release.
Comment #4
kamkejj CreditAttribution: kamkejj at Nerdery commentedA fix for my last patch which didn't return anything if the logout destination was not set.