reddit/reddit — Issue #273: Login username field not trimmed of whitespace
Author: twirrim
Created: 2011-12-06 02:28:17+00:00
State: open

Like other users I was having difficulty logging in using mobile browser, it turns out it's down to the input field for username not being trimmed of trailing whitespace, something the keyboard on my android phone likes to add automatically after words. If trim is supposed to be there, it's not working

Steps to recreate:
1) Go to reddit.com, log out if you're logged in.
2) Enter username in input field, at trailing space.
3) Enter password for the account, click login button and watch it fail to log in.
4) Go to username field and remove that trailing space, click login and watch it succeed.