-
Notifications
You must be signed in to change notification settings - Fork 784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to delete an account #1267
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting a 422 Unprocessable Content upon submitting an account deletion request.
At first I thought it was because the
user[i_am_sure]
field is submitted twice (once with0
for the hidden field, once with1
for the checked box), but upon removing the hidden field it still produces that output. (And indeed, on not checking that box, the error flash is correctly displayed.)Then I thought perhaps the authenticate call was failing, but using an incorrect password produces the correct error flash too, so I'm guessing it's just being raised by
@user.delete!
for some reason. I imagine the error log will contain more useful information; maybe there's some delete that's not cascading.The text was updated successfully, but these errors were encountered: