When the function generateUniqueUsername is called start to test from the number 2, why?
Example:
For the name Jane:
Iteration # 1: Jane 2
Iteration # 2: Jane 3
Iteration # 3: Jane 4
....
Why do you start from 2?
The patch is for start from 1.
| Comment | File | Size | Author |
|---|---|---|---|
| start-from-one.patch | 637 bytes | rpayanm |
Comments
Comment #2
gvsoThanks @rpayanm! I'll review this tonight
We might also need to update 8.x-2.x branch
Comment #3
gvsoComment #5
gvsoComment #7
gvsoThanks!