# Login with autofilled fields fails

**URL:** <https://community.auth0.com/t/login-with-autofilled-fields-fails/9822>\
**Category:** Get Help\
**Tags:** lock, login, auth0\
**Created:** [March 7, 2018, 9:22am UTC](https://community.auth0.com/t/login-with-autofilled-fields-fails/9822 "2018-03-07T09:22:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rkamp](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@rkamp](https://community.auth0.com/u/rkamp)\
**Post date:** [March 7, 2018, 9:22am UTC](https://community.auth0.com/t/login-with-autofilled-fields-fails/9822/1 "2018-03-07T09:22:02Z")

</div>

When trying to login with autofilled fields, the login is denied because the autofill adds an unnecessary space behind the username/emailaddress. Without the space at the end, the login is successfull.

Is there any way to fix this?

---

<div class="post-metadata">

**Author:** ![kimcodes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kimcodes/32/81052_2.png) [@kimcodes](https://community.auth0.com/u/kimcodes)\
**Post date:** [March 16, 2018, 4:21pm UTC](https://community.auth0.com/t/login-with-autofilled-fields-fails/9822/2 "2018-03-16T16:21:26Z")

</div>

In the case you are using [Lock Web](https://auth0.com/docs/libraries/lock/v11) as your login interface, the last version of [Lock (11.4)](https://github.com/auth0/lock/releases/tag/v11.4.0) contains a change to remove spaces from email and username. Upgrading to the latest Lock (11.4) should fix this!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 25, 2019, 11:09am UTC](https://community.auth0.com/t/login-with-autofilled-fields-fails/9822/3 "2019-07-25T11:09:15Z")

</div>


