Open callahad opened 11 years ago
@callahad - do you have a test site for this? I just tried it locally and all was good.
@shane-tomlinson I've got a VM handy. Will try to publish somewhere when I'm back from PTO.
I repro'd this but only when i had signed in previously and made a comment. Here are my steps:
result: your email is displayed in the comment, it's like we're picking up a cookie or something. expected: it should say 'john doe' as the username.
@edmoz, @callahad - Are you using an email address that has a Gravatar profile?
@edmoz, @callahad - the other thing is, does the email address already have an account on the site associated with it?
The current logic is (keep going down until match): 1) check whether there is an account for the email address, if yes, use the account's profile name, possibly overwriting the name entered by the user in the comment. 2) If no author name was given, check gravatar for a profile for the email address. If found, use the profile's displayName 3) If still no author, use the "local" half of the email address.
If I type a name in the comment field, but post with Persona, the local part of my email address overwrites the name I typed in.