Skip to content

Commit

Permalink
SET-807 Strip leading / trailing whitespaces from provided github use…
Browse files Browse the repository at this point in the history
…rname

...during new user registration
  • Loading branch information
TomasHofman committed Aug 12, 2024
1 parent 65c14e4 commit 7a537c1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public EntityUpdateResult<RegisteredUser> modifyGitHubName(String newGithubName)
if (StringUtils.isBlank(newGithubName)) {
return EntityUpdateResult.validationFailure("Github name must be non blank.");
}
newGithubName = newGithubName.strip();

try {
// reload authenticated user form database
Expand Down

0 comments on commit 7a537c1

Please sign in to comment.