When inviting someone to a team, the wrong user id is saved in the team_user table.
The id saved is the user_id field is the id of the user that is sending the invitation.
So when the invited user accepts, he is then asked to login, but there is no user created so the user cannot accept.
When inviting someone to a team, the wrong user id is saved in the team_user table. The id saved is the user_id field is the id of the user that is sending the invitation.
So when the invited user accepts, he is then asked to login, but there is no user created so the user cannot accept.