User Id without the email.

User Id without the email.

Hi, 

I have one application that has a user with id without the email.com in it. 
e.g. "name1" 

Now I added another user but it is not able to log in without adding the whole email. 
e.g. It doesn't work with "name2" It asks for "name2@gmail.com" as the user id.