mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
6fd577d97d widened the scope of
`use_email_for_username_and_name_suggestions` (default false) to include
invites, which means that it fell back to a generic username like
`user1`.
This commit makes it bail out earlier in this situation, so that no
suggestion is attempted.