aboutsummaryrefslogtreecommitdiffstats
path: root/services/forms/runner.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/forms/runner.go')
-rw-r--r--services/forms/runner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/forms/runner.go b/services/forms/runner.go
index 9063060346..22dea49e31 100644
--- a/services/forms/runner.go
+++ b/services/forms/runner.go
@@ -20,6 +20,6 @@ type EditRunnerForm struct {
// Validate validates form fields
func (f *EditRunnerForm) Validate(req *http.Request, errs binding.Errors) binding.Errors {
- ctx := context.GetContext(req)
+ ctx := context.GetValidateContext(req)
return middleware.Validate(errs, ctx.Data, f, ctx.Locale)
}