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

Display Username Capitalization and Trailing Char Fix #2027

Merged
merged 2 commits into from
Sep 25, 2024

Conversation

tkiyohar
Copy link
Contributor

@tkiyohar tkiyohar commented Mar 5, 2024

Summary

Fixes the in-app SSO username error where acceptable usernames with trailing characters or random capitalization are displayed as such. See photos below of examples:

drawing drawing drawing

Changelog

[General] [Fix] - reformats displayed username in app without trailing character and uniform capitalization.

Test Plan

Sign in and out on the profile page using random capitalization and by entering a space followed by any random strings of characters after your UCSD email address. The app should still log you in if you have trailing characters/weird capitalization (this is an attribute/bug of SSO and not something for us to fix) but should now display your username or email in lowercase without any random trailing characters (Note: app will prevent you from logging in if you do a string of random characters after your username rather than your email).

@tkiyohar tkiyohar requested a review from c3bryant March 5, 2024 16:37
Copy link
Contributor

@morebytes morebytes left a comment

Choose a reason for hiding this comment

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

Looks good, testing done

@morebytes morebytes removed the request for review from c3bryant September 25, 2024 22:11
@morebytes morebytes merged commit 3ec092a into UCSD:experimental Sep 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

3 participants