mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-07 19:31:54 -04:00
Set the guest_link capability according to the config
This commit is contained in:
1 parent
3a555257fb
commit
27a0195146
1 file changed
+3
@@ -290,6 +290,9 @@ func FrontendConfigFromStruct(cfg *config.Config, logger log.Logger) (map[string
|
||||
"outgoing": cfg.EnableFederatedSharingOutgoing,
|
||||
"incoming": cfg.EnableFederatedSharingIncoming,
|
||||
},
|
||||
"guest_links": map[string]any{
|
||||
"enabled": cfg.Commons.EnableGuestLinks,
|
||||
},
|
||||
},
|
||||
"spaces": map[string]any{
|
||||
"version": "1.0.0",
|
||||
|
||||
Reference in new issue
Block a user