mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
replace empty pw with a random one
This commit is contained in:
parent
a43c5d3f1f
commit
424c7c3c81
@ -234,6 +234,12 @@ while(($arg = array_shift($argv)))
|
||||
{
|
||||
$config[$name] = array_shift($argv);
|
||||
|
||||
// replace empty pw with a random one
|
||||
if ($name === 'db_pass' && $config[$name] === '')
|
||||
{
|
||||
$config[$name] = randomstring();
|
||||
}
|
||||
|
||||
switch($name)
|
||||
{
|
||||
case 'auth_type':
|
||||
|
Loading…
Reference in New Issue
Block a user