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