Skip to content

Conversation

@simonLeary42
Copy link
Collaborator

@simonLeary42 simonLeary42 commented Apr 23, 2025

Fixes a WSOD when a user tries to set their login shell with non ascii characters. Also avoids the LDAP warnings generated in testing: https://github.com/UnityHPC/unity-web-portal/actions/runs/14648366156/job/41108067187

It also grays out the submit button when there's no change, when custom shell is empty, when custom shell has leading/trailing whitesapce. All grayed-out reasons are displayed in a <p> next to the button, just like the "request PI account" button and "request account deletion button". see examples in #202

Screen.Recording.2025-04-24.at.2.46.55.PM.mov

@simonLeary42 simonLeary42 force-pushed the non-ascii-shell branch 5 times, most recently from e1e9223 to f6d6b9b Compare April 24, 2025 14:25
@simonLeary42 simonLeary42 changed the title check for special characters in login shell, cleanup account page check for special characters in login shell Apr 24, 2025
@simonLeary42 simonLeary42 changed the title check for special characters in login shell add checks to login shell Apr 24, 2025
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