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

Updated loggedInUserFirstname #94

Merged

Conversation

Eltord
Copy link
Contributor

@Eltord Eltord commented Sep 1, 2023

Added a check to account for if the loggedInUser returns in all caps, as this sometimes happens with SSO Attributes.

Previously, if the name was in all caps, it stayed that way when presenting the dialog to the user:

Screenshot 2023-07-19 at 12 33 06 PM

With the added check in the loggedInUserFirstname, it now looks to see if the name is in all caps and corrects the case, while also still working for other cases:

Screenshot 2023-07-19 at 12 34 55 PM

dan-snelson added a commit that referenced this pull request Sep 9, 2023
#94; thanks for another one, Eltord)

Signed-off-by: Dan K. Snelson <[email protected]>
@dan-snelson dan-snelson merged commit b34825d into setup-your-mac:development Sep 9, 2023
@dan-snelson
Copy link
Collaborator

Thanks, @Eltord!

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.

2 participants