[openstreetmap/openstreetmap-website] Trim username/e-mail whitespace in login page (Issue #4471)
zstadler
notifications at github.com
Thu Jan 11 07:50:44 UTC 2024
### Problem
OSM users are redirected to OSM login for authentication. We continuously receive complaints about users unable to access their accounts.
95% of the user issues are due to extra space added to the OSM username/email that is added by many mobile keyboards with auto-completion. Users do not notice that extra space and their login fails
### Description
The requested solution to the problem is to trim leading and trailing whitespace. It is a safe change since leading and trailing whitespace characters are not permitted as OSM usernames or an e-mail address
### Screenshots
The error produced when a space character is appended to the username, as done by many mobile keyboards with auto-completion

--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4471
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/4471 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240110/32f0a944/attachment.htm>
More information about the rails-dev
mailing list