]> git.mxchange.org Git - friendica.git/commitdiff
enforce them, but inform the user about it
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sat, 28 Jan 2017 09:10:35 +0000 (10:10 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sat, 28 Jan 2017 09:10:35 +0000 (10:10 +0100)
mod/install.php

index ae3f538a8b838b73defd9ca7539dfbe7423714e5..ec991e1d8126b97efaba5b3918528f9410afa299 100755 (executable)
@@ -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, ''),
+                               '$dbpass' => array('dbpass', t('Database Login Password'), $dbpass, t('For security reasons this cannot 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'),