Bug: email with trailing space is not trimmed on login
-
Hi,
plain WP allows a user to login with an email address with trailing spaces (as often added by autocompletion on mobile devices). UM however only appears to handle (i.e. remove) trailing spaces on usernames, but not on email addresses.
-> um_submit_form_errors_hook_login line 33 is_email returns false for such a badly formatted email address.
One solution would be to trim($args[‘username’]) in um_submit_form_errors_hook_login
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Bug: email with trailing space is not trimmed on login’ is closed to new replies.