v2-hub
v2-hub copied to clipboard
user:register_form won't work in 2.11.18 if login_type is set to email
Describe the bug
I'm using the {{ user:register_form }} tag and I have login_type set to email. My register form doesn't have a username field but it does have a email field. Whenever I test registering a new user I get the alpha_dash error complaining that the username is not valid.
This bug got introduced on 2.11.18 with:
When registering a user, the username will have alpha_dash validation applied.
Expected behavior
No alpha_dash error when you've got login_type set to email and don't use a username at all.
Working on a fix!