Commit 52d1167b authored by anarcat's avatar anarcat

just don't mark db passwd field required at all

this would be inforcing policy. since by default the mysql server on
Debian doesn't have a database password, it's reasonable to allow
modification (creation already works) of database servers without
passwords.
parent af7f82b4
......@@ -39,7 +39,7 @@ class hostingService_db_mysql extends hostingService_db {
}
$form['db_passwd'] = array(
'#type' => 'password_confirm',
'#required' => ($this->db_passwd) ? FALSE : $this->available,
'#required' => FALSE,
'#description' => $passwd_description . t('The password for the user that will be used to create new mysql users and databases for new sites'),
'#size' => 30,
'#weight' => 10
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment