Skip to content

Bug: userId is saved to the database even when feedback is submitted anonymously #204

Description

@kmanish527

When a user submits feedback from the frontend with the "Submit anonymously" checkbox checked, the backend correctly receives isAnonymous: true. However, the logged-in user's userId is still being saved in the MongoDB document, which violates user privacy and ignores the anonymous flag.

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions