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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sanduhrs’s picture

Assigned: Unassigned » sanduhrs
Status: Active » Fixed

Commited to HEAD.
Thanks for your interest.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

Nall’s picture

Category: feature » bug
Status: Closed (fixed) » Needs review
FileSize
684 bytes

The 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.

sanduhrs’s picture

Status: Needs review » Fixed

Commited to HEAD and DRUPAL-5.
Thanks.

sanduhrs’s picture

Status: Fixed » Postponed (maintainer needs more info)
FileSize
726 bytes

Slightly changed your patch, as it didn't work for me here.
Please test it and confrim it's working for you, too.
Thanks.

sanduhrs’s picture

Please checkout the latest CVS version.

sanduhrs’s picture

Status: Postponed (maintainer needs more info) » Fixed

Seems fixed, see discussion [1].
Thanks.

[1] http://www.drupalcenter.de/node/7854

Nall’s picture

Oh, that's much better, yes. Still fixes this issue, so I'm happy with it.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.