diglin/module-username

Real Username support for Magento 2

Installs: 70

Dependents: 0

Suggesters: 0

Security: 0

Stars: 11

Watchers: 6

Forks: 5

Open Issues: 6

Type:magento2-module

2.0.0-beta 2016-08-30 21:56 UTC

This package is auto-updated.

Last update: 2024-04-17 02:14:11 UTC


README

Magento module which allows your customers to use a username and not only the email address as identifier

IMPORTANT It's a BETA. Lots of things have not been yet implemented or is a work in progress. See the issues https://github.com/diglin/Diglin_Username2/issues/created_by/diglin. For example checkout account creation with username doesn't work.

Features

  • Compatible and tested with Magento version 2.0 & 2.1
  • Login with a username or email, it can be done from frontend during checkout or to get access to the customer account
  • Save a username from frontend (register account or checkout process) or from backend by editing a customer account
  • Prevent duplicate username
  • The default templates override some customer and checkout views to adapt display for login pages, checkout process and account edition in frontend. If you have a customized template, update your template with the content of the one of this module.
  • Configurable options to define what kind of username to support: only letters, only digits, both or default (digits, letters and special characters '-_') or even custom regex
  • Configurable options to set the maximum and minimum string length
  • Display Username of each customer in the Customer Management Grid
  • Allow or not the customer to edit the username in My Account in frontend
  • Support username when a customer wants to retrieve his forgotten password thanks to the "Forgotten Password" form
  • Generate usernames for customer account who don't have one, can be triggered from configuration page. Generated usernames will use current saved configuration (letters, digits, both or custom regex).

Installation

cd path/to/my/magento/project
composer.phar require 'diglin/module-username'
bin/magento module:enable Diglin_Username
bin/magento setup:upgrade
bin/magento setup:di:compile

Uninstall

cd path/to/my/magento/project
bin/magento module:uninstall -r Diglin_Username

Author