Re: Logging in with emails longer than 30 characters

2008-07-15 Thread Jarek Zgoda
Julien Phalip pisze: > - create my own login view (duplicating the standard auth login view > and replacing all the references to AuthenticationForm with my own > custom form). This will be easiest way IMO. > None of these 2 options seem to satisfy me completely... What do you > think is the be

Re: Logging in with emails longer than 30 characters

2008-07-15 Thread Julien Phalip
Sorry, I forgot to give the link: [1] http://www.djangosnippets.org/snippets/74/ On Jul 15, 9:04 pm, Julien Phalip <[EMAIL PROTECTED]> wrote: > Hi, > > On my site users must login with their email address. I'm successfully > using a custom authentication backend based on [1]. > > The problem is

Logging in with emails longer than 30 characters

2008-07-15 Thread Julien Phalip
Hi, On my site users must login with their email address. I'm successfully using a custom authentication backend based on [1]. The problem is with email addresses longer than 30 characters. At the moment, these addresses can't log in because the django.contrib.auth.forms.AuthenticationForm's use