Issue Description
After sending an invite to a specific user, attempting to send another invite using the same credentials does not return the expected error message indicating that the user already exists. The system shows the duplicate user details, and even after the user has accepted the invite, the system can still regenerate a new invite.
Steps to Reproduce
Log in to the application.
Navigate to the "Settings" feature.
Navigate to the invite section.
Send an invite to a specific user by entering their email address.
Attempt to send another invite to the same user with the same credentials.
Expected Behavior
An error message should be displayed, indicating that the user already exists and preventing the duplicate invite.
The absence of the error message may lead to confusion and potential duplicate user entries.
Current Behavior
No error message is shown, and the application allows the sending of a duplicate invite using the same credentials.
Screenshots (optional)
No response
Operating System [e.g., Windows 10]
No response
Browser [e.g., Chrome, Firefox]
No response
Environment (locally, production, selfhosted)
No response
Please check the boxes that apply to this issue report.