refactor(db): add Users.Update (#7263)

This commit is contained in:
Joe Chen
2022-11-27 15:19:44 +08:00
committed by GitHub
parent a7dbc970df
commit 13099a7e4f
16 changed files with 423 additions and 109 deletions

View File

@@ -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)"`
}