From 4562460b05b96eb55d66af6b4b153b6918fe879d Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Sat, 21 Jul 2018 17:18:54 +0100 Subject: [PATCH] fixed build --- modules/auth/user_form.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/auth/user_form.go b/modules/auth/user_form.go index 251f73479..43ddb29c7 100644 --- a/modules/auth/user_form.go +++ b/modules/auth/user_form.go @@ -84,6 +84,8 @@ func (f *RegisterForm) Validate(ctx *macaron.Context, errs binding.Errors) bindi return validate(errs, ctx.Data, f, ctx.Locale) } +// MustChangePasswordForm form for updating your password after account creation +// by an admin type MustChangePasswordForm struct { Password string `binding:"Required;MaxSize(255)"` Retype string