endorseLinkPassword changed to enableLinkPasswordByDefault
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
cbfe5f3c1f
commit
0d7801b6ce
|
@ -22,7 +22,7 @@
|
||||||
defaults: {
|
defaults: {
|
||||||
publicUploadEnabled: false,
|
publicUploadEnabled: false,
|
||||||
enforcePasswordForPublicLink: oc_appconfig.core.enforcePasswordForPublicLink,
|
enforcePasswordForPublicLink: oc_appconfig.core.enforcePasswordForPublicLink,
|
||||||
endorsePasswordForPublicLink: oc_appconfig.core.endorsePasswordForPublicLink,
|
enableLinkPasswordByDefault: oc_appconfig.core.enableLinkPasswordByDefault,
|
||||||
isDefaultExpireDateEnforced: oc_appconfig.core.defaultExpireDateEnforced === true,
|
isDefaultExpireDateEnforced: oc_appconfig.core.defaultExpireDateEnforced === true,
|
||||||
isDefaultExpireDateEnabled: oc_appconfig.core.defaultExpireDateEnabled === true,
|
isDefaultExpireDateEnabled: oc_appconfig.core.defaultExpireDateEnabled === true,
|
||||||
isRemoteShareAllowed: oc_appconfig.core.remoteShareAllowed,
|
isRemoteShareAllowed: oc_appconfig.core.remoteShareAllowed,
|
||||||
|
|
|
@ -228,7 +228,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if($checkBox.is(':checked')) {
|
if($checkBox.is(':checked')) {
|
||||||
if(this.configModel.get('enforcePasswordForPublicLink') === false && this.configModel.get('endorsePasswordForPublicLink') === false) {
|
if(this.configModel.get('enforcePasswordForPublicLink') === false && this.configModel.get('enableLinkPasswordByDefault') === false) {
|
||||||
$loading.removeClass('hidden');
|
$loading.removeClass('hidden');
|
||||||
// this will create it
|
// this will create it
|
||||||
this.model.saveLinkShare();
|
this.model.saveLinkShare();
|
||||||
|
|
Loading…
Reference in New Issue