README.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. INTRODUCTION
  2. ------------
  3. Email Registration allows users to register and login with their email address
  4. instead of using a separate username in addition to the email address. It will
  5. automatically generate a username based on the email address but that behavior
  6. can be overridden with a custom hook implementation in a site specific module.
  7. INSTALLATION
  8. ------------
  9. Required step:
  10. Enable the module as you normally would. See:
  11. https://www.drupal.org/docs/8/extending-drupal-8/installing-modules
  12. CONFIGURATION
  13. -------------
  14. * You will probably want to change the welcome email (Administration
  15. -> Configuration -> People -> Account Settings) and replace instances of the
  16. token [user:display-name] with [user:mail].
  17. * The automatically generated username is still displayed name for posts,
  18. comments, etc. You can allow your users to change their username by granting
  19. the permission (Administraion -> People -> Permissions) to "change own
  20. username". This privilege allows a user to change their username in "My
  21. Account".
  22. * If a user enters an invalid email or password they will see a message:
  23. "Unrecognized username or password. Forgot your password?"
  24. That message is confusing because it mentions username when all other
  25. language on the page mentions entering their email. This can be easily
  26. overridden in your settings.php file with an entry like this:
  27. $settings['locale_custom_strings_en'][''] = [
  28. 'Unrecognized username or password. <a href=":password">Forgot your password?</a>' => 'Unrecognized e-mail address or password. <a href=":password">Forgot your password?</a>',
  29. ];
  30. BUGS, FEATURES, QUESTIONS
  31. -------------------------
  32. Post any bugs, features or questions to the issue queue:
  33. http://drupal.org/project/issues/email_registration