404 page after user deletes account


(Dan Dascalescu) #1
  1. Sign up for Discourse
  2. Click the confirmation link in the email
  3. Activate the account at /users/activate-account/
  4. Preferences -> Delete account

Note the /404 page.


(Jeff Atwood) #2

This is correct behavior. If you are proposing a different behavior, go ahead and propose it.


(Allen - Watchman Monitoring) #3

I’d have expected to get sent to the default site page, with a confirmation flash showing deletion was successful.


(Mittineague) #4

Yes, I guess it could be more graceful.

I wasn’t surprised or confused by the 404.

If I’m on a page and I delete the page getting a 404 makes sense to me.

But some kind of “success warning” thing could work too.


(Dylan) #5

The average user would think it was an error if there wasn’t some sort of success your account has been deleted message.


(Jeff Atwood) #6

It is extraordinarily rare for a user to self delete their account. Remember this is only allowed if the account is less than a few days old and has no more than one post.


(cpradio) #7

So I just attempted this on my sandbox and then on try.discourse.org, and a modal window appears when you delete your account (with an OK) button, but the page is forcing a refresh/navigate to action that prevents you from being able to read the Modal or click the button…

It seems like there is a bug here, as that Modal should remain visible until the OK button is clicked.


(Dan Dascalescu) #8

I would propose redirecting the user to /. Maybe they found the content valuable but don’t want to be a member.