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

Allow account deletion even when email authentication is disabled #12799

Open
dumbmoron opened this issue Oct 16, 2024 · 2 comments
Open

Allow account deletion even when email authentication is disabled #12799

dumbmoron opened this issue Oct 16, 2024 · 2 comments
Labels
backlog This is not on the Weblate roadmap for now. Can be prioritized by sponsorship. enhancement Adding or requesting a new feature.

Comments

@dumbmoron
Copy link

dumbmoron commented Oct 16, 2024

Describe the problem

Currently, if a Weblate instance has email authentication disabled (social_core.backends.email.EmailAuth is not defined in AUTHENTICATION_BACKENDS, and a different backend - e.g. a OAuth2 provider - is used), the delete user page returns a 404.

Describe the solution you would like

The user would be able to delete their account even if they have no password set (for example, they could be asked to verify the request by logging in with whatever method they used to log in for this session, or the deletion page could skip the verification entirely and simply delete the user's account).

Describe alternatives you have considered

Admins can still delete users manually upon request, but this is impractical.

@nijel nijel added enhancement Adding or requesting a new feature. backlog This is not on the Weblate roadmap for now. Can be prioritized by sponsorship. labels Oct 25, 2024
Copy link

This issue has been added to the backlog. It is not scheduled on the Weblate roadmap, but it eventually might be implemented.

In case you need this feature soon, please consider helping or push it by funding the development.

@nijel
Copy link
Member

nijel commented Oct 25, 2024

The removal currently fails with 404 because it is using email backend to verify the current user:

return social_complete(request, "email")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog This is not on the Weblate roadmap for now. Can be prioritized by sponsorship. enhancement Adding or requesting a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants