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.
Describe the bug I'm using the
{{ user:register_form }}
tag and I havelogin_type
set toemail
. 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 gotlogin_type
set toemail
and don't use a username at all.