New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User cant register if email length is > 30 chars #71

Closed
karamfilovs opened this Issue Sep 30, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@karamfilovs

karamfilovs commented Sep 30, 2017

Summary: Users with long emails will face issue to register due to email field validation being too restrictive about the length.

Component: Registration
Version: 3+
Reproducible: every time
Browser: Chrome v61

Steps:

  1. Go go to Kiwi TCMS login page
  2. Click on guest login
  3. Click on Register
  4. Populate all fields with valid data(email longer than 30 chars. example aleksandar.karamfilov@domain.com)

Actual: User cant enter full email
Expected: User should be able to register with long emails. Validation should be improved.

Additional info: Works fine with shorter emails.

atodorov added a commit that referenced this issue Oct 9, 2017

Remove max_length=30 limitation for EmailField in RegistrationForm
in Django this field has a maximul length of 254 chars. However
browsers will pre-validate the input field and may have other
limitations. For example on Firefox the domain part
(between @ and .) can be a maximum of 63 characters long!

Fixes #71.

@atodorov atodorov closed this in 34ba4f5 Oct 9, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment