aboutsummaryrefslogtreecommitdiff
path: root/internal/form
diff options
context:
space:
mode:
authorJoe Chen <jc@unknwon.io>2022-11-27 15:19:44 +0800
committerGitHub <noreply@github.com>2022-11-27 15:19:44 +0800
commit13099a7e4fe7565bb858646d42d1fba817cb06cc (patch)
treeac932d0f5df9f14b0f9408c32f699ae7167edc25 /internal/form
parenta7dbc970dfaac9f04addf05da97bb0aa29083e37 (diff)
refactor(db): add `Users.Update` (#7263)
Diffstat (limited to 'internal/form')
-rw-r--r--internal/form/user.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/form/user.go b/internal/form/user.go
index d8d73ca4..539dfd98 100644
--- a/internal/form/user.go
+++ b/internal/form/user.go
@@ -95,7 +95,6 @@ func (f *SignIn) Validate(ctx *macaron.Context, errs binding.Errors) binding.Err
type UpdateProfile struct {
Name string `binding:"Required;AlphaDashDot;MaxSize(35)"`
FullName string `binding:"MaxSize(100)"`
- Email string `binding:"Required;Email;MaxSize(254)"`
Website string `binding:"Url;MaxSize(100)"`
Location string `binding:"MaxSize(50)"`
}