Trim whitespaces around email during login

Created on 28 April 2021, about 3 years ago
Updated 23 January 2024, 5 months ago

Problem/Motivation

The login form is not trimming the user input.
If the users copy&paste their username or email address to the field, and it contains a blank space, it does not work.

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇸🇮Slovenia davideoz Ljubljana

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇪Germany Anybody Porta Westfalica

    Willing to merge this into 7.x-1.x-dev if someone prepares the MR. Thanks!

  • 🇺🇸United States greggles Denver, Colorado, USA

    The change LGTM. Updating the title to clarify that this will trim whitespace at the ends (i.e outside) the email as opposed to within the email.

Production build 0.69.0 2024