Skip to content
This repository was archived by the owner on Dec 30, 2025. It is now read-only.

Trim leading and trailing spaces from username at login#288

Open
kevinmarsh wants to merge 1 commit into
4clojure:developfrom
kevinmarsh:develop
Open

Trim leading and trailing spaces from username at login#288
kevinmarsh wants to merge 1 commit into
4clojure:developfrom
kevinmarsh:develop

Conversation

@kevinmarsh

Copy link
Copy Markdown

I ran into a problem where Chrome on Android was including a space after my username when it tried to autofill it (eg. "testuser " instead of "testuser") which made the login fail repeatedly despite looking like my correct username and password.

Since usernames have to match #"[A-Za-z0-9_]+" trimming it should be fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant