Redirect to front page after users deletes it's own account

EnekoAlonso - October 6, 2007 - 20:40
Project:User Delete
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:sanduhrs
Status:closed
Description

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.

#1

sanduhrs - November 30, 2007 - 12:05
Assigned to:Anonymous» sanduhrs
Status:active» fixed

Commited to HEAD.
Thanks for your interest.

#2

Anonymous - December 14, 2007 - 12:11
Status:fixed» closed

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

#3

Nall - January 16, 2008 - 14:00
Category:feature request» bug report
Status:closed» patch (code needs review)

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.

AttachmentSize
user_delete.module.181373.patch684 bytes

#4

sanduhrs - January 16, 2008 - 19:34
Status:patch (code needs review)» fixed

Commited to HEAD and DRUPAL-5.
Thanks.

#5

sanduhrs - January 26, 2008 - 12:37
Status:fixed» active (needs more info)

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

AttachmentSize
user_delete_redirect_01.patch726 bytes

#6

sanduhrs - January 26, 2008 - 14:28

Please checkout the latest CVS version.

#7

sanduhrs - January 28, 2008 - 14:38
Status:active (needs more info)» fixed

Seems fixed, see discussion [1].
Thanks.

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

#8

Nall - January 30, 2008 - 09:56

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

#9

Anonymous (not verified) - February 13, 2008 - 10:03
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.