Skip to content

Commit

Permalink
Relax check in GECOS field (bsc#1228149)
Browse files Browse the repository at this point in the history
  • Loading branch information
shundhammer committed Aug 20, 2024
1 parent 30a656a commit 4e25e9f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/modules/Users.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4659,14 +4659,6 @@ sub CheckGECOS {
contain a colon (:). Try again.");
}

my @gecos_l = split (/,/, $gecos);
if (@gecos_l > 3 ) {
# error popup
return __("The \"Additional User Information\" entry can consist
of up to three sections separated by commas.
Remove the surplus.");
}

return "";
}

Expand Down

0 comments on commit 4e25e9f

Please sign in to comment.