Is there are specific reason why wm.CodeReturned leads to Errors.User.Code.NotFound?
if requireExisting && wm.InviteCode == nil || wm.CodeReturned {
return nil, nil, zerrors.ThrowPreconditionFailed(nil, "COMMAND-Wr3gq", "Errors.User.Code.NotFound")
}https://github.com/zitadel/zitadel/issues/10718
I would like to understand if this is expected behavior or a bug because it's blocking our adoption of zitadel.
Steps:
1. Add new user
2. Create invite code and return code instead of sending
3. Try to login with the new user
GitHub![[Bug]: Return invite code produces error in login v2 · Issue #1071...](https://images-ext-1.discordapp.net/external/LLfTxHwqCb_J3ZogX365p6INWtTvYBLBeEe6ZgE4Dfk/https/opengraph.githubassets.com/a68470dd61ff792ef019b68bdc908e6a357a7ecab2e69280e549a8e46b4e1893/zitadel/zitadel/issues/10718)
Preflight Checklist I could not find a solution in the documentation, the existing issues or discussions I have joined the ZITADEL chat Environment Self-hosted Version 4.1.4 Database PostgreSQL Dat...
