diff options
author | Peter Lauck <griest024@gmail.com> | 2018-02-13 02:21:42 -0500 |
---|---|---|
committer | Peter Lauck <griest024@gmail.com> | 2018-02-13 02:21:51 -0500 |
commit | eddf4c0f6cb6125a30cbc2528a468d2c3d5a48e0 (patch) | |
tree | 77d00e2c503730aa398d888b6edd5ad30ed0d8d3 /changelogs | |
parent | 201f53e96d26d4babfc6a4492576f873219d4e6f (diff) | |
download | gitlab-ce-eddf4c0f6cb6125a30cbc2528a468d2c3d5a48e0.tar.gz |
Strip whitespace from username/login value for user lookup
As per the discussion with @psimyn, this change does not affect the frontend, so user input will not be validated on the signin screen.
Instead, the value sent to the backend has leading and trailing whitespace stripped before looking up the user with find_by.
Closes #42637
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/change-strip-whitespace-from-username-input-42637.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/change-strip-whitespace-from-username-input-42637.yml b/changelogs/unreleased/change-strip-whitespace-from-username-input-42637.yml new file mode 100644 index 00000000000..a51781396ee --- /dev/null +++ b/changelogs/unreleased/change-strip-whitespace-from-username-input-42637.yml @@ -0,0 +1,5 @@ +--- +title: Remove whitespace from the username/email sign in form field +merge_request: 17020 +author: Peter lauck +type: changed |