Force Email Login

WORDPRESS CODE SNIPPET

WordPress allows you to login using either your user name or your email address. This code snippet disables login with user name and forces login with email address. If the mailaddress assigned to your user is visible nowhere on your site this may strengthen the security of your WordPress website.

Share this page: