Skip to content

Commit

Permalink
change comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladirico committed Jan 24, 2024
1 parent 1f32088 commit b11b7ff
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions ts/screens/profile/CduEmailInsertScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,11 @@ const CduEmailInsertScreen = (props: Props) => {
const handleOnChangeEmailText = (value: string) => {
/**
* SCENARIOS:
* 1. first onboarding and email already taken => if the CIT write
* the same email as the one he has to modify, he is blocked
* 2. first onboarding and NOT email already taken => the email
* with which he/she is logged in is valid and the CIT is not blocked
* 1. first onboarding and email already taken => if the CIT writes
* the same email as the one he has to modify, he is blocked.
* 2. first onboarding and NOT email already taken => in this case,
* the CIT does not need his email to be compared with another one,
* so the areSameEmails will always be false.
* 3. Not first onboarding => if the CIT write the same email as the one
* he already send, he is blocked.
*/
Expand Down

0 comments on commit b11b7ff

Please sign in to comment.