Feedback validation error message to invited users
I tried to invite a new user via invite page but his registration failed without any error messages. I investigated the issue and found that his nickname has underscore, but I haven't been enabled extended_nickname_format
option.
Environment:
- Pleroma BE 1.1.0-9-gf67f65b3-pleroma-ryusei-dev
- Pleroma FE bcfdd68e
Reproduce steps:
- Generate user invite token.
sudo -Hu pleroma MIX_ENV=prod mix pleroma.user invite
- Access to the generated URL.
- Fill the form with invalid nickname.
- Click the submit button.
Expected behavior:
- Feedback error message to the invited user.
Actual behavior:
- The registration silently failed. Clicking submit button twice gives the error message "Expired token".
Related
- #429 (closed) Usernames with underscores are not supported
- !537 (merged) Allow underscores/dashes in usernames.
Edited by Ryusei