Private emails are public via Repositories

Summary

On repositories, I noticed that when you hover over a person's username, it displays the user's email address (even when profile settings state "private"). On GitHub, they don't display the email address at any time through the user interface.

Steps to reproduce

Go to a repository and hover over a username.

What is the current bug behavior?

Always displays email (even if private).

What is the expected correct behavior?

Should display username only.

Relevant logs and/or screenshots

Won't show my email, but an example link that does show it:

http://i.imgur.com/ZVdpAIR.png (Viewable from logged in users)

http://i.imgur.com/uooaKcB.png (Viewable from anyone, including bots)

Output of checks

This bug happens on GitLab.com

Possible fixes

Remove all references to the user's private email address if set to private in profile settings.

Assignee Loading
Time tracking Loading