[openstreetmap/openstreetmap-website] login fails if space are present b/c no trimming is done on email (#2173)

Tom Hughes notifications at github.com
Fri Mar 8 10:48:43 UTC 2019


Yes it's simple until you find some lunatic has created a user with significant whitespace in their name...

I know that can't work for email but we allow either username or email for login and it's not completely trivial to trim one and not the other.

We don't currently allow leading or trailing whitespace for usernames but I need to check if that has always been the case ;-)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2173#issuecomment-470887111
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190308/4399be72/attachment.html>


More information about the rails-dev mailing list