Skip to content

Commit

Permalink
Merge pull request #26364 from DylanDylann/fix/25636-incorrect-behavi…
Browse files Browse the repository at this point in the history
…or-when-inviting-esisting-user-capitalized-email

Fix/25636: Incorrect when inviting existing member
  • Loading branch information
techievivek authored Sep 11, 2023
2 parents f896f71 + 6ca9958 commit 6488e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/WorkspaceInvitePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function WorkspaceInvitePage(props) {
);

const headerMessage = useMemo(() => {
const searchValue = searchTerm.trim();
const searchValue = searchTerm.trim().toLowerCase();
if (!userToInvite && CONST.EXPENSIFY_EMAILS.includes(searchValue)) {
return translate('messages.errorMessageInvalidEmail');
}
Expand Down

0 comments on commit 6488e9f

Please sign in to comment.