diff --git a/adapter/adapter.go b/adapter/adapter.go index ad1f79860..b69fcbc2e 100644 --- a/adapter/adapter.go +++ b/adapter/adapter.go @@ -160,7 +160,7 @@ func (base *BaseAdapter) GetContent(ctx interface{}, getPanelFn types.GetPanelFn err error ) - gctx := context.NewContext(wf.Request()) + gctx := context.NewContext(newBase.Request()) if !auth.CheckPermissions(user, newBase.Path(), newBase.Method(), newBase.FormParam()) { panel = template.WarningPanel(gctx, errors.NoPermission, template.NoPermission403Page) diff --git a/modules/system/version.go b/modules/system/version.go index f966cbe7b..2aa4c7315 100644 --- a/modules/system/version.go +++ b/modules/system/version.go @@ -1,6 +1,6 @@ package system -const version = "v1.2.25" +const version = "v1.2.26" var requireThemeVersion = map[string][]string{ "adminlte": {">=v0.0.41"},