-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Require password for account deletion by default #4816
Comments
I'm ok with supporting this feature, but we can't require it by default since it isn't backward compatible. Thanks! |
I'll be working on a PR for this. |
I finished the feature and submitted a PR. |
I am really interested in this feature. It doesn't make sense that a user cannot change the email, but can destroy the account without password! Can you merge the PR? |
@collimarco The PR still needs some fixes, that's why I haven't merged yet. |
Current behavior
Devise requires current password in order to change account, but does not require current password for account deletion.
Expected behavior
Devise should require current password in order to delete account.
Manual solution
The text was updated successfully, but these errors were encountered: