As designed Connected accounts. Username.

Jumuro

Well-known member
Affected version
2.0.7
Change
Code:
<xf:macro template="register_macros" name="username_row" />
to
Code:
<xf:if is="$providerData.username">
    <xf:macro template="register_macros" name="username_row" arg-value="{$providerData.username}" />
<xf:else />
    <xf:macro template="register_macros" name="username_row" />
</xf:if>
 
I think this change is something you're better to make in your own style, if you feel it is appropriate to do so.

As far as I can recall, it was done this way deliberately, even as far back as XF1. Given that people generally use their real name on most social networks (especially Facebook and Google) it may not be desirable to use that real name on a forum, hence we keep the username field blank.

It's also possible we may be pre-filling the username field there with a username that already exists on the forum, which may be frustrating.

I think with GDPR and privacy being what it is, it's probably best to give users a choice there but certainly the choice is yours if you want to edit the template.
 
Top Bottom