Skip to content

Conversation

tom93
Copy link
Contributor

@tom93 tom93 commented Jul 26, 2024

From the commit message:

When the full name is not specified, the code is supposed to set it to the username. But that wasn't working because the code was checking for null but the full name is set to an empty string.

Fix this by checking for either an empty string or null (casting null to string returns an empty string).

When the full name is not specified, the code is supposed to set it to
the username. But that wasn't working because the code was checking
for `null` but the full name is set to an empty string.

Fix this by checking for either an empty string or `null` (casting
`null` to string returns an empty string).
@meisterT meisterT added this pull request to the merge queue Jul 28, 2024
Merged via the queue into DOMjudge:main with commit cc3271e Jul 28, 2024
26 checks passed
@tom93 tom93 deleted the pr/fix-default-name-registration branch August 5, 2024 16: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.

3 participants