Avatar not displayed when hide email address #2349

Closed
opened 2025-11-02 04:33:33 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @ejouvin on GitHub (Sep 20, 2018).

  • Gitea version (or commit ref):
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Did it on the try gitea here : https://try.gitea.io/ejouvin/MyPRTest

I've create a new account and put a different email address for the avatar and the profile.

On first commit, the email address is not hidden. The avatar is "well" displayed.
After setting my email as hidden, but the email for avatar is correct, the avatar is not displayed for next commit.
Then I set the email address as visible, and avatar is correctly displayed for next commits.

Is it correct that hidding email has impact on the avatar displaying ?
It could be the case if the profile email is same as avatar email, but in other case I am not sure.

...

Screenshots

Originally created by @ejouvin on GitHub (Sep 20, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): - Git version: - Operating system: - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [X] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description Did it on the try gitea here : https://try.gitea.io/ejouvin/MyPRTest I've create a new account and put a different email address for the avatar and the profile. On first commit, the email address is not hidden. The avatar is "well" displayed. After setting my email as hidden, but the email for avatar is correct, the avatar is not displayed for next commit. Then I set the email address as visible, and avatar is correctly displayed for next commits. Is it correct that hidding email has impact on the avatar displaying ? It could be the case if the profile email is same as avatar email, but in other case I am not sure. ... ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/enhancementissue/stale labels 2025-11-02 04:33:33 -06:00
Author
Owner

@lafriks commented on GitHub (Sep 20, 2018):

Yes it is current behaviour as users are identified by email

@lafriks commented on GitHub (Sep 20, 2018): Yes it is current behaviour as users are identified by email
Author
Owner

@ghost commented on GitHub (Dec 11, 2018):

@lafriks What about when using a custom avatar? Should it also not display, when hiding the email from the profile?

@ghost commented on GitHub (Dec 11, 2018): @lafriks What about when using a custom avatar? Should it also not display, when hiding the email from the profile?
Author
Owner

@stale[bot] commented on GitHub (Feb 9, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Feb 9, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@stale[bot] commented on GitHub (Feb 23, 2019):

This issue has been automatically closed because of inactivity. You can re-open it if needed.

@stale[bot] commented on GitHub (Feb 23, 2019): This issue has been automatically closed because of inactivity. You can re-open it if needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2349