diff --git a/src/PVE/API2/AccessControl.pm b/src/PVE/API2/AccessControl.pm index ee0775a..a984e7c 100644 --- a/src/PVE/API2/AccessControl.pm +++ b/src/PVE/API2/AccessControl.pm @@ -345,7 +345,7 @@ __PACKAGE__->register_method ({ password => { description => "The new password.", type => 'string', - minLength => 5, + minLength => 8, maxLength => 64, }, 'confirmation-password' => $PVE::API2::TFA::OPTIONAL_PASSWORD_SCHEMA, diff --git a/src/PVE/API2/User.pm b/src/PVE/API2/User.pm index 489d34f..535e58e 100644 --- a/src/PVE/API2/User.pm +++ b/src/PVE/API2/User.pm @@ -272,7 +272,7 @@ __PACKAGE__->register_method ({ description => "Initial password.", type => 'string', optional => 1, - minLength => 5, + minLength => 8, maxLength => 64 }, groups => get_standard_option('group-list'),