Skip to content
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

Do not allow users to delete account #289

Open
kerrermanisNL opened this issue Jul 12, 2018 · 1 comment
Open

Do not allow users to delete account #289

kerrermanisNL opened this issue Jul 12, 2018 · 1 comment

Comments

@kerrermanisNL
Copy link

I think it would be nice if there was some way to disable the /account/delete/ URL/functionality. In my case it can lead to data discrepancies if a user decides to delete their account.

Please note that the solution offered in #279 doesn't work (at least not for users wanting to delete their own account). I have ACCOUNT_OPEN_SIGNUP = False, but users can still delete their own accounts by visiting the /account/delete/ URL.

@jonathan-s
Copy link
Contributor

Instead of doing

url(r"^account/", include("account.urls")),

You could re-create https://github.com/pinax/django-user-accounts/blob/master/account/urls.py but without /account/delete. Reilly in that issue mentions the same as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants