v2-hub icon indicating copy to clipboard operation
v2-hub copied to clipboard

user:register_form won't work in 2.11.18 if login_type is set to email

Open studio1902 opened this issue 5 years ago • 1 comments

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.

studio1902 avatar Feb 04 '20 12:02 studio1902

Working on a fix!

jackmcdade avatar Feb 04 '20 17:02 jackmcdade