[PR #2068] [MERGED] fix: organisation invite member should be case insensitive #2028

Closed
opened 2026-02-26 20:32:07 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/2068
Author: @rwagoner
Created: 10/8/2025
Status: Merged
Merged: 12/15/2025
Merged by: @dguyen

Base: mainHead: fix/user-lookup-case


📝 Commits (1)

  • 2f76dc1 fix: user lookup should be case insensitive

📊 Changes

1 file changed (+4 additions, -1 deletions)

View changed files

📝 packages/lib/server-only/organisation/accept-organisation-invitation.ts (+4 -1)

📄 Description

Description

The organisation invite member is case sensitive when performing the lookup. Email addresses are not case sensitive so the lookup should not be case sensitive.

Changes Made

  • Added the case insensitive mode to the prisma query

Testing Performed

  • Verified the organisation invite member is now case insensitive.

Checklist

  • [X ] I have tested these changes locally and they work as expected.
  • [X ] I have followed the project's coding style guidelines.

Additional Notes


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/2068 **Author:** [@rwagoner](https://github.com/rwagoner) **Created:** 10/8/2025 **Status:** ✅ Merged **Merged:** 12/15/2025 **Merged by:** [@dguyen](https://github.com/dguyen) **Base:** `main` ← **Head:** `fix/user-lookup-case` --- ### 📝 Commits (1) - [`2f76dc1`](https://github.com/documenso/documenso/commit/2f76dc13e778df3e8335e99748f2bf7c6e4b4a07) fix: user lookup should be case insensitive ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/lib/server-only/organisation/accept-organisation-invitation.ts` (+4 -1) </details> ### 📄 Description ## Description The organisation invite member is case sensitive when performing the lookup. Email addresses are not case sensitive so the lookup should not be case sensitive. ## Related Issue <!--- If this pull request is related to a specific issue, reference it here using #issue_number. --> <!--- For example, "Fixes #123" or "Addresses #456". --> ## Changes Made <!--- Provide a summary of the changes made in this pull request. --> <!--- Include any relevant technical details or architecture changes. --> - Added the case insensitive mode to the prisma query ## Testing Performed <!--- Describe the testing that you have performed to validate these changes. --> <!--- Include information about test cases, testing environments, and results. --> - Verified the organisation invite member is now case insensitive. ## Checklist <!--- Please check the boxes that apply to this pull request. --> <!--- You can add or remove items as needed. --> - [X ] I have tested these changes locally and they work as expected. - [X ] I have followed the project's coding style guidelines. ## Additional Notes <!--- Provide any additional context or notes for the reviewers. --> <!--- This might include details about design decisions, potential concerns, or anything else relevant. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:32:07 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#2028
No description provided.