# "Remember me" and email address

**URL:** <https://forum.keycloak.org/t/remember-me-and-email-address/9012>\
**Category:** Getting advice\
**Tags:** authentication\
**Created:** [May 11, 2021, 10:23am UTC](https://forum.keycloak.org/t/remember-me-and-email-address/9012 "2021-05-11T10:23:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bamandine](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/bamandine/32/12278_2.png) [@bamandine](https://forum.keycloak.org/u/bamandine)\
**Post date:** [May 11, 2021, 10:23am UTC](https://forum.keycloak.org/t/remember-me-and-email-address/9012/1 "2021-05-11T10:23:31Z")

</div>

Hello,

My realm users’s username are UUID strings. My users have to login with email (a JavaScript validator is done on the login page), but when they use the “remember me” check-box, when they disconnect and try to reconnect, the UUID is filled in the login form instead of the email address.

Is it possible to fill the login form with the email address instead of username when using the “remember me” check-box ?

I tried to change the theme (login.ftl) for using the email instead of username but it doesn’t work, I’m getting an empty username field.

`<input tabindex="1" id="username" class="${properties.kcInputClass!}" name="username" value="${(login.email!'')}" type="email" disabled />`

Is there a way to make this work ?

Thanks a lot !
