Merge pull request #1244 from jamesa/develop
Add full name field to admin's user edit page (fixes #1130)
This commit is contained in:
commit
91ab2538c3
3 changed files with 6 additions and 0 deletions
|
@ -11,6 +11,7 @@ import (
|
|||
)
|
||||
|
||||
type AdminEditUserForm struct {
|
||||
FullName string `form:"fullname" binding:"MaxSize(100)"`
|
||||
Email string `binding:"Required;Email;MaxSize(50)"`
|
||||
Password string `binding:"OmitEmpty;MinSize(6);MaxSize(255)"`
|
||||
Website string `binding:"MaxSize(50)"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue