Problem/Motivation
When a user logs in via Social Auth Google, the module automatically generates the Drupal username based on the Google account name. However, all spaces are removed.
For example:
- Google account name: Dao Duc Trung
- Generated Drupal username: daoductrung
This behavior is unexpected.
Expected behavior:
The full name from the Google account should be preserved, including spaces, because Drupal usernames allow spaces by default.
So in the example above, the username should be:
Dao Duc Trung
Comments