Open sbaechler opened 10 years ago
Plata uses email for login:
forms.py, line 67
if getattr(User, 'USERNAME_FIELD', 'username') == 'username': params['username'] = email[:30] # FIXME user = User.objects.create_user(**params)
the email address can be up to 100 characters, but the authentication form only allows for 30 characters because it references the username field:
def get_authentication_form(self, **kwargs): return AuthenticationForm(**kwargs)
There should be a AuthenticationForm by default which has a max_length of 100 characters if this way of authenticating is used.
Plata uses email for login:
forms.py, line 67
the email address can be up to 100 characters, but the authentication form only allows for 30 characters because it references the username field:
There should be a AuthenticationForm by default which has a max_length of 100 characters if this way of authenticating is used.