094263db4d
* Show email if the authenticated user owns the profile page being requested for. Also removed `setting.UI.ShowUserEmail` as it's documentation says it only controls the email setting on the explore page * fix current user check... This prevents a panic as a user must be signed in before ctx.User is called * fix panic in tests * try to fix tests * Update year * Test CI fail * Revert change * User 3 is not allowed to authorize * Set user2 email to be private * Change to user4 in explore page as user2 now has private email option set |
||
---|---|---|
.. | ||
access.yml | ||
access_token.yml | ||
action.yml | ||
attachment.yml | ||
collaboration.yml | ||
comment.yml | ||
commit_status.yml | ||
deleted_branch.yml | ||
deploy_key.yml | ||
email_address.yml | ||
follow.yml | ||
gpg_key.yml | ||
hook_task.yml | ||
issue.yml | ||
issue_assignees.yml | ||
issue_label.yml | ||
issue_user.yml | ||
issue_watch.yml | ||
label.yml | ||
login_source.yml | ||
milestone.yml | ||
notice.yml | ||
notification.yml | ||
org_user.yml | ||
protected_branch.yml | ||
public_key.yml | ||
pull_request.yml | ||
reaction.yml | ||
release.yml | ||
repo_indexer_status.yml | ||
repo_redirect.yml | ||
repo_topic.yml | ||
repo_unit.yml | ||
repository.yml | ||
review.yml | ||
star.yml | ||
stopwatch.yml | ||
team.yml | ||
team_repo.yml | ||
team_unit.yml | ||
team_user.yml | ||
topic.yml | ||
tracked_time.yml | ||
u2f_registration.yml | ||
user.yml | ||
user_open_id.yml | ||
watch.yml | ||
webhook.yml |