1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How can I allow a user to use an Email as their username?

Discussion in 'General PHP and MySQL Discussions' started by kato233, Jun 19, 2014.

  1. kato233

    kato233 Member

    Hey guys!

    So I am creating something that takes their username (which could be an email), and looks it up in a DB. Then, it sets the Username to the Username column.

    I cannot seem to find where it checks if the username field == email.

    The reason I am doing this?

    I am creating a Minecraft.net verification. So far, I have it set so that you need to register with your Minecraft.net acc and Minecraft.net password. The problem is that around 2012, they changed new users to have to use their email. So I need to get rid of the check that sees if the username field contains an email.

    Thanks,
     

Share This Page