Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use passport's userDisplay as source of truth #405

Merged
merged 1 commit into from
Jan 25, 2024
Merged

Conversation

timobraz
Copy link
Contributor

Description

Instead of trusting the client's useDisplay value we instead extract it from the authenticated passport. If userDisplay is Anonymous Peter we keep it as such.

Screenshots

image

Steps to verify/test this change:

  • Verify changes work as expected on staging instance

Final Checks:

  • Verify successful deployment

(optional)

  • Write tests
  • Write documentation

Issues

Closes #395

@timobraz timobraz requested a review from js0mmer January 23, 2024 22:43
@timobraz timobraz self-assigned this Jan 23, 2024
Copy link

Deployed staging instance to https://staging-405.peterportal.org

Copy link
Member

@js0mmer js0mmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@timobraz timobraz merged commit c862f70 into master Jan 25, 2024
2 checks passed
@timobraz timobraz deleted the verified-userdisplay branch January 25, 2024 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Determine review userDisplay on server side
2 participants