mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-9736: Incoherent validation and error message when you change the vm.password.length configuration parameter (#2358)
Default value introduce in schema-430to440.sql are 6 for the length CLOUDSTACK-10111 have already the error message.
This commit is contained in:
parent
bac423fea0
commit
895aee37f7
@ -689,7 +689,7 @@ import com.cloud.vm.dao.VMInstanceDao;
|
||||
public class ManagementServerImpl extends ManagerBase implements ManagementServer, Configurable {
|
||||
public static final Logger s_logger = Logger.getLogger(ManagementServerImpl.class.getName());
|
||||
|
||||
static final ConfigKey<Integer> vmPasswordLength = new ConfigKey<Integer>("Advanced", Integer.class, "vm.password.length", "10",
|
||||
static final ConfigKey<Integer> vmPasswordLength = new ConfigKey<Integer>("Advanced", Integer.class, "vm.password.length", "6",
|
||||
"Specifies the length of a randomly generated password", false);
|
||||
@Inject
|
||||
public AccountManager _accountMgr;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user