Re: Should Django ignore leading/trailing spaces on login credentials

2013-07-03 Thread C. Kirby
While I have never heard of it being "frequent practice" I will accept that as a given. I also don't mind it at all, so I don't see the need to override AuthenticationForm. It is just unfortunate that this is an edge case that can be screwed up due to a user's OS On Wednesday, July 3, 2013 2:36:

Re: Should Django ignore leading/trailing spaces on login credentials

2013-07-03 Thread James Pic
On Wed, Jul 3, 2013 at 7:25 PM, C. Kirby wrote: > I just ran into an issue where a user was copy/pasting username and password > from a text file into the login screen. For some reason the c/p process was > adding a trailing space to their credentials and they were failing login. > > Is there a re

Should Django ignore leading/trailing spaces on login credentials

2013-07-03 Thread C. Kirby
I just ran into an issue where a user was copy/pasting username and password from a text file into the login screen. For some reason the c/p process was adding a trailing space to their credentials and they were failing login. Is there a reason to not scrub leading and trailing spaces from logo