cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

Email with space in prefix and postfix should not be considered as a different user

Open mMARUF opened this issue 1 year ago • 5 comments

Issue Summary

Email with space in prefix and postfix should not be considered as a different user – while adding member to a team

Steps to Reproduce

  1. Open cal.com and log in
  2. Go to Settings
  3. Press on ADD A TEAM button
  4. Start creating a new team
  5. In the step-2 of creating a new team, invite someone to the team who is not a user of cal.com
  6. Now, again, try to invite the same email address to the team by using space in prefix and postfix of the email address (example: {space} email {space} )
  7. The app recognizes the email address as a different user and shows error- "Invite failed because there is no corresponding user for *************"

Actual Results

  1. The add recognizes the email address as a different user and shows error- "Invite failed because there is no corresponding user for *************"

Expected Results

Email with space in prefix and postfix should not be considered as a different user – while adding member to a team

Technical details

OS: MacOS Ventura 13.3.1 (a) Browser: Chrome 113.0.5672.63

mMARUF avatar May 07 '23 09:05 mMARUF

Please assign this to me

dammahhammad avatar May 07 '23 10:05 dammahhammad

I would like to work on this issue

Ash9311 avatar May 07 '23 13:05 Ash9311

It is easily resolvable by using .trim

pranjalg13 avatar May 07 '23 13:05 pranjalg13

Is this issue still open ? If yes, I would like to work on it

kshitiz-goel07 avatar May 07 '23 15:05 kshitiz-goel07

@mMARUF is this still not solved. I can fix that. Looking forward to your response

AliYar-Khan avatar May 07 '23 18:05 AliYar-Khan