Can I make a proposal to improve it? to me, a email have always to be lower case, specially when it is used to login.
The problem is that email in auth_user need to be a unique key, and it allows to be duplicated. 2011/2/15 Jonathan Lundell <jlund...@pobox.com> > On Feb 15, 2011, at 9:06 AM, Alexandre Andrade wrote: > > I think IS_EMAIL() validator has a bug: > > it accepts the same email with different lower and upper cases to be > accepted > > u...@mysite.com and u...@mysite.com and u...@mysite.com or any > combination. > > The problem is quite simple, just transform it to lower before compare and > insert in db. > > > IS_EMAIL is just checking for validity. You can use IS_LOWER to convert to > lower case if you want to. > -- Atenciosamente Alexandre Andrade Hipercenter.com Classificados Gratuitos