Merge pull request #3123 from tobiasd/20170128-nodbpwd

during installation inform user that pwd cannot be blank
This commit is contained in:
Michael Vogel 2017-01-28 11:25:55 +01:00 committed by GitHub
commit 8b2c995c3d

View File

@ -261,7 +261,7 @@ function install_content(App $a) {
'$dbhost' => array('dbhost', t('Database Server Name'), $dbhost, '', 'required'),
'$dbuser' => array('dbuser', t('Database Login Name'), $dbuser, '', 'required', 'autofocus'),
'$dbpass' => array('dbpass', t('Database Login Password'), $dbpass, '', 'required'),
'$dbpass' => array('dbpass', t('Database Login Password'), $dbpass, t("For security reasons the password must not be empty"), 'required'),
'$dbdata' => array('dbdata', t('Database Name'), $dbdata, '', 'required'),
'$adminmail' => array('adminmail', t('Site administrator email address'), $adminmail, t('Your account email address must match this in order to use the web admin panel.'), 'required', 'autofocus', 'email'),