LibreChat icon indicating copy to clipboard operation
LibreChat copied to clipboard

🚫👤feat: delete user from UI

Open berry-13 opened this issue 1 year ago • 2 comments

Summary

I've added a "delete account" button. This button deletes all user information, including plugin auths, conversations, presets, keys, transactions, sessions, messages, and user data.

image

image

image

Change Type

  • [x] New feature (non-breaking change which adds functionality)

Testing

Test Configuration:

Checklist

  • [x] My code adheres to this project's style guidelines
  • [x] I have performed a self-review of my own code
  • [x] I have commented in any complex areas of my code
  • [x] I have made pertinent documentation changes
  • [x] My changes do not introduce new warnings
  • [x] I have written tests demonstrating that my changes are effective or that my feature works
  • [x] Local unit tests pass with my changes
  • [x] Any changes dependent on mine have been merged and published in downstream modules.

berry-13 avatar Jan 09 '24 21:01 berry-13

Thank you for this! I will review and test when I get the chance

danny-avila avatar Jan 15 '24 13:01 danny-avila

Amazing! Thank you so much @Berry-13!

darkBuddha avatar Jan 21 '24 09:01 darkBuddha

Are there plans to integrate this pull request into the main branch?

unitedrule avatar May 22 '24 04:05 unitedrule

Are there plans to integrate this pull request into the main branch?

It will be part of the v0.7.3 release. Check the milestone: https://github.com/danny-avila/LibreChat/milestone/5

danny-avila avatar May 22 '24 12:05 danny-avila

Please consider making this feature optional.

KiGamji avatar May 25 '24 16:05 KiGamji

Please consider making this feature optional.

It is enabled by default for GDPR compliance, but you can disable it with the env variable:

ALLOW_ACCOUNT_DELETION=false

danny-avila avatar Jun 05 '24 21:06 danny-avila