mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-03 02:39:52 -06:00
fix: disable misconfigured default expiration date public links
This commit is contained in:
committed by
Ralf Haferkamp
parent
21470ab392
commit
0341097430
@@ -0,0 +1,6 @@
|
||||
Bugfix: Disable default expiration for public links
|
||||
|
||||
The default expiration for public links was enabled in the capabilities without providing a (then required) default amount of days for clients to pick a reasonable expiration date upon link creation. This has been fixed by disabling the default expiration for public links in the capabilities. With this configuration clients will no longer set a default expiration date upon link creation.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/4445
|
||||
https://github.com/owncloud/ocis/pull/4475
|
||||
@@ -206,7 +206,7 @@ func FrontendConfigFromStruct(cfg *config.Config) (map[string]interface{}, error
|
||||
},
|
||||
},
|
||||
"expire_date": map[string]interface{}{
|
||||
"enabled": true,
|
||||
"enabled": false,
|
||||
},
|
||||
"can_edit": true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user