Finish update password and profile
This commit is contained in:
parent
495a52d78b
commit
47edf7f4f9
10 changed files with 72 additions and 33 deletions
|
@ -96,7 +96,7 @@ type FeedsForm struct {
|
|||
|
||||
type UpdateProfileForm struct {
|
||||
Email string `form:"email" binding:"Required;Email;MaxSize(50)"`
|
||||
Website string `form:"website" binding:"AlphaDash;MaxSize(50)"`
|
||||
Website string `form:"website" binding:"MaxSize(50)"`
|
||||
Location string `form:"location" binding:"MaxSize(50)"`
|
||||
Avatar string `form:"avatar" binding:"Required;Email;MaxSize(50)"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue