|
|
@ -5,6 +5,8 @@ my $dbn = $pydio{'DbName'} || 'pydio'; |
|
|
|
my $dbu = $pydio{'DbUser'} || 'pydio'; |
|
|
|
my $dbu = $pydio{'DbUser'} || 'pydio'; |
|
|
|
my $dbp = $pydio{'DbPassword'} || 'secret'; |
|
|
|
my $dbp = $pydio{'DbPassword'} || 'secret'; |
|
|
|
my $url = $pydio{'LogoutUrl'} || ''; |
|
|
|
my $url = $pydio{'LogoutUrl'} || ''; |
|
|
|
|
|
|
|
my $createUser = $pydio{'ShareCreateUser'} || 'disabled'; |
|
|
|
|
|
|
|
$createUser = ($createUser eq 'enabled') ? JSON::true : JSON::false; |
|
|
|
|
|
|
|
|
|
|
|
my $data = { |
|
|
|
my $data = { |
|
|
|
'core.conf' => { |
|
|
|
'core.conf' => { |
|
|
@ -31,6 +33,7 @@ my $data = { |
|
|
|
'USERS_LIST_HIDE_LOGIN' => JSON::false, |
|
|
|
'USERS_LIST_HIDE_LOGIN' => JSON::false, |
|
|
|
'USERS_LIST_COMPLETE_LIMIT' => '20', |
|
|
|
'USERS_LIST_COMPLETE_LIMIT' => '20', |
|
|
|
'ALLOW_CROSSUSERS_SHARING' => JSON::true, |
|
|
|
'ALLOW_CROSSUSERS_SHARING' => JSON::true, |
|
|
|
|
|
|
|
'USER_CREATE_USERS' => $createUser |
|
|
|
}, |
|
|
|
}, |
|
|
|
'core.auth' => { |
|
|
|
'core.auth' => { |
|
|
|
'MASTER_INSTANCE_CONFIG' => { |
|
|
|
'MASTER_INSTANCE_CONFIG' => { |
|
|
|