For more details see how the Login by Attributes for Magento 2 extension works.
Simplify the login process in your store with Login by Attributes for Magento 2 extension.
To configure general extension settings please go to Stores → Configuration → Customer Login Attributes.
Login Attribute Selector - Selected attributes will be used by customers to login. Only Login Attributes and Email may apply. Note that it is a good practice to make Login Attributes visible and editable at “Create New Customer Account” and “Edit Account Information” forms. Modify Field Title on the Login Page - This option allows you to modify the field title. Please, set ‘Yes’ or ‘No’ option upon your needs.
New Field Title on the Login Page- set new field title on the Login Page.
Modify Notice on the Login Page - If the option is set to ‘Yes’ modify the notice on the Login Page
New Notice Text on the Login Page - set new notice text on the Login Page.
Add Notice to Login Attributes - add notices to attributes that are set to use as login to notify customers. Notices are displayed at “Create New Customer Account” and “Edit Account Information” forms.
Login Attribute Notice Text - set notice text that will be used to notify customers that they are able to login with the designated attribute.
Default Region for Phone Number - This setting is used to process a phone number correctly. You can choose a needed country from the drop-down list.
Use Geo IP to Process Phone Numbers - This option allows you to use Geo Ip feature to process a phone number correctly.
To create a new attribute please go to Customers → Customer Login Attributes → Manage Login Attributes. On this grid, you can add new attributes and edit already created ones. To add an attribute, please click the Add New Attribute button.
Store View - Select the store view for which the attribute will be available.
Type - choose between two input types of login option depending on your specific needs:
Values Required - If the option is set to ‘Yes’ customers won’t be able to leave this attribute field blank while getting registered.
Input Validation - Specify the type of input validation.
Show login attributes on the Customers grid. Apart from that, you can display login attributes on the order grid as well as on the order info page.