parabol icon indicating copy to clipboard operation
parabol copied to clipboard

Bug: `updateEmail` mutation does not update `isEmailVerified`

Open Dschoordsch opened this issue 1 year ago • 1 comments

          > With that PR, do you think we need to check updateEmail? Users won't be able to autoJoin a team if the org doesn't have a billing leader or founder with the same email domain & a verified email.

The issue with updateEmail is slightly different: It does not modify the identities array which we check for isEmailVerified. So in theory someone could sign up, verify their email and then change it. We would consider the changed one still verified, although it isn't. Not a big deal yet as it's private. I'll just create a bug.

Originally posted by @Dschoordsch in https://github.com/ParabolInc/parabol/issues/8883#issuecomment-1771422440

Dschoordsch avatar Oct 19 '23 17:10 Dschoordsch