|
|
@ -90,7 +90,7 @@ func (f *SignIn) Validate(ctx *macaron.Context, errs binding.Errors) binding.Err |
|
|
|
// \/ \/ \/ \/ \/
|
|
|
|
// \/ \/ \/ \/ \/
|
|
|
|
|
|
|
|
|
|
|
|
type UpdateProfile struct { |
|
|
|
type UpdateProfile struct { |
|
|
|
Name string `binding:"OmitEmpty;MaxSize(35)"` |
|
|
|
Name string `binding:"Required;AlphaDashDot;MaxSize(35)"` |
|
|
|
FullName string `binding:"MaxSize(100)"` |
|
|
|
FullName string `binding:"MaxSize(100)"` |
|
|
|
Email string `binding:"Required;Email;MaxSize(254)"` |
|
|
|
Email string `binding:"Required;Email;MaxSize(254)"` |
|
|
|
Website string `binding:"Url;MaxSize(100)"` |
|
|
|
Website string `binding:"Url;MaxSize(100)"` |
|
|
|