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

Not all user data cleared from DB when deleting an account #7487

Closed
gwynnarth opened this issue Mar 25, 2019 · 0 comments
Closed

Not all user data cleared from DB when deleting an account #7487

gwynnarth opened this issue Mar 25, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@gwynnarth
Copy link

  • NodeBB version: 1.12.0
  • NodeBB git hash: 9c4b2d9

Not sure if that's a bug or intentional:
Issue #6702 added two new fields to the database:
'user:' + userData.uid + ':usernames' and 'user:' + userData.uid + ':emails' but I don't see these fields being removed in User.deleteAccount() as a result there are "dangling" data after removing an account. Is this data needed for anything after the account was removed, or is this a simple oversight?

Thanks!

@barisusakli barisusakli self-assigned this Mar 25, 2019
@barisusakli barisusakli added this to the 1.12.1 milestone Mar 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants