Skip to content

Commit

Permalink
[BISERVER-15145] - Prevent the Creation of Usernames with Leading/Tra…
Browse files Browse the repository at this point in the history
…iling Whitespaces
  • Loading branch information
joana-fb committed Dec 11, 2024
1 parent ba550c7 commit de967f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public void createUser( User user ) throws Exception {
if ( canAdminister() ) {
if ( userValid( user ) ) {

String userName = decode( user.getUserName() );
String userName = decode( user.getUserName() ).trim();
String password = user.getPassword();

ValidationFailedException exception = validatePasswordFormat( password );
Expand Down

0 comments on commit de967f8

Please sign in to comment.