follow-up for #697760
Issue #657472 by thePanz, joachim, greggles: Add setting to allow users to login with email address or username
Issue #423920: Prevent race condition in account generation code by adding uid to name
Issue #2188837 by greggles: coder cleanup for email_registration
Issue #1911574 by jdleonard: Integrate with Inline Registration
Issue 2166607 by Dudytz: Form_alter of user edit page does not work
Issue #1996664 by greggles | joachim: Don't change the password reminder form too much
Reverting accidental commit of #423920
Issue #2080615 by andypost: Clean-up docs for current standard.
Add type for return value
Initial conversion. Works and passes tests.
Issue #1903646 by aadityawalawalkar, greggles: Separate cleaning of names from unique check in email_registration_unique_username: fixing single spaces replaced by underscores
Issue #377262 by greggles: Test that immediate login works if enabled, remove code that forces the login
Issue #1197886 by greggles: Make password reset instructions more generic
Issue #421078 by dwightaspinwall, greggles: Abstract name unique check for re-use, make it is cross-database compatible, make it more robust, us it on external names
Issue #186128 by greggles: Change 'username' field to 'Display name' - followup, sentence case
Issue #186128 by greggles: Change 'username' field to 'Display name'
Issue #1291908 by pcambra, greggles: Keep the email login entered by the user so it can be validated
Issue #1576438 by greggles: Create README.txt - document various setup instructions
Issue #1874454 by greggles: Make the name a value instead of a hidden to keep it from being in the HTML
Issue #1576666 by shaisachs, greggles: Use hook_form_FORMID_alter
Drupal is a registered trademark of Dries Buytaert.