- πΊπΈUnited States bluegeek9
Drupal 7 is End of Life. We recommend upgrading to a supported version of Drupal.
Hi. I faced with a problem with this module: initial username is not unique.
Steps to reproduce:
1. Don't implement hook_email_registration_name in your project's custom modules.
2. Register a lot of users (since you didn't implement hook from step 1 you will get a lot users in users
table with name like email_registration_[pass]
).
3. Once upon the time you can get error
The name %name is already taken.
from user module. It because [pass]
can be not so unique as it looks like (user_password()
function can generate same passwords).
Suggestion:
Don't rely on user_password()
function for generation temporary username.
Here is a patch. I hope it will help.
P.S. I've also fixed some typos in README.txt.
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Drupal 7 is End of Life. We recommend upgrading to a supported version of Drupal.