aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/allconfig/configlanguage.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/allconfig/configlanguage.go')
-rw-r--r--config/allconfig/configlanguage.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/allconfig/configlanguage.go b/config/allconfig/configlanguage.go
index 38d2309ef..deec61449 100644
--- a/config/allconfig/configlanguage.go
+++ b/config/allconfig/configlanguage.go
@@ -137,11 +137,11 @@ func (c ConfigLanguage) Watching() bool {
return c.m.Base.Internal.Watch
}
-func (c ConfigLanguage) NewIdentityManager(name string) identity.Manager {
+func (c ConfigLanguage) NewIdentityManager(name string, opts ...identity.ManagerOption) identity.Manager {
if !c.Watching() {
return identity.NopManager
}
- return identity.NewManager(name)
+ return identity.NewManager(name, opts...)
}
func (c ConfigLanguage) ContentTypes() config.ContentTypesProvider {