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.
Redirect to front page after users deletes it's own account. Right now, after user deletes it's own account, he/her gets an Access Denied page (I guess Drupal is redirecting to Admin Users page).
I suggest redirecting to the front page.
Comment | File | Size | Author |
---|---|---|---|
#5 | user_delete_redirect_01.patch | 726 bytes | sanduhrs |
#3 | user_delete.module.181373.patch | 684 bytes | Nall |
Comments
Comment #1
sanduhrsCommited to HEAD.
Thanks for your interest.
Comment #2
(not verified) CreditAttribution: commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
Nall CreditAttribution: Nall commentedThe fix for the above breaks batch user deletions - as it routes to the site homepage after the first one, the rest never get deleted.
Attached a quick patch for that, now works fine here.
Comment #4
sanduhrsCommited to HEAD and DRUPAL-5.
Thanks.
Comment #5
sanduhrsSlightly changed your patch, as it didn't work for me here.
Please test it and confrim it's working for you, too.
Thanks.
Comment #6
sanduhrsPlease checkout the latest CVS version.
Comment #7
sanduhrsSeems fixed, see discussion [1].
Thanks.
[1] http://www.drupalcenter.de/node/7854
Comment #8
Nall CreditAttribution: Nall commentedOh, that's much better, yes. Still fixes this issue, so I'm happy with it.
Comment #9
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.