Refine username assertion and docs
Co-authored-by: ragusa-it <196988693+ragusa-it@users.noreply.github.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{
|
||||
assertions = [
|
||||
{
|
||||
assertion = builtins.match "^[a-z_][a-z0-9_-]*$" username != null;
|
||||
assertion = builtins.match "^[a-z_][a-z0-9_]*$" username != null;
|
||||
message = "username must be a simple system user name without path separators.";
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user