mirror of
https://github.com/owncloud/ocis
synced 2026-04-26 01:35:25 +02:00
feat: add and adjust configs for embed mode
This commit is contained in:
@@ -201,7 +201,9 @@ func Sanitize(cfg *config.Config) {
|
||||
// remove Embed parent if no value is set
|
||||
if cfg.Web.Config.Options.Embed.Enabled == "" &&
|
||||
cfg.Web.Config.Options.Embed.Target == "" &&
|
||||
cfg.Web.Config.Options.Embed.MessagesOrigin == "" {
|
||||
cfg.Web.Config.Options.Embed.MessagesOrigin == "" &&
|
||||
cfg.Web.Config.Options.Embed.DelegateAuthentication == "" &&
|
||||
cfg.Web.Config.Options.Embed.DelegateAuthenticationOrigin == "" {
|
||||
cfg.Web.Config.Options.Embed = nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user