You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(api): ensure all user data is deleted on account deletion
Fixes a critical bug in the `AuthService.deleteAccount` method where
only the main user document was being deleted. The previous logic
incorrectly assumed a relational `CASCADE` delete behavior.
This change adds explicit calls to delete the user's associated
documents from the `user_app_settings` and `user_content_preferences`
collections, ensuring that no orphaned data is left in the database
after an account is deleted.
0 commit comments