Add ShareCreateUser prop to allow user creation on the fly (during sharing)
This commit is contained in:
parent
da383ad78a
commit
eb45ab9d5c
|
@ -5,6 +5,8 @@ my $dbn = $pydio{'DbName'} || 'pydio';
|
|||
my $dbu = $pydio{'DbUser'} || 'pydio';
|
||||
my $dbp = $pydio{'DbPassword'} || 'secret';
|
||||
my $url = $pydio{'LogoutUrl'} || '';
|
||||
my $createUser = $pydio{'ShareCreateUser'} || 'disabled';
|
||||
$createUser = ($createUser eq 'enabled') ? JSON::true : JSON::false;
|
||||
|
||||
my $data = {
|
||||
'core.conf' => {
|
||||
|
@ -31,6 +33,7 @@ my $data = {
|
|||
'USERS_LIST_HIDE_LOGIN' => JSON::false,
|
||||
'USERS_LIST_COMPLETE_LIMIT' => '20',
|
||||
'ALLOW_CROSSUSERS_SHARING' => JSON::true,
|
||||
'USER_CREATE_USERS' => $createUser
|
||||
},
|
||||
'core.auth' => {
|
||||
'MASTER_INSTANCE_CONFIG' => {
|
||||
|
|
Loading…
Reference in New Issue