summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorJames <james@jamesanderson.me>2015-04-28 11:59:05 -0400
committerJames <james@jamesanderson.me>2015-04-28 11:59:05 -0400
commitf3aab5dbe30f8e6a1032b524315f7fd37c3e0b24 (patch)
treee4b5b8f196b97203dfccf663b310cd43d7e8eadb /modules
parent2c4fb6e6469f756dfaeb276302bac87e4dac3e1e (diff)
downloadgitea-f3aab5dbe30f8e6a1032b524315f7fd37c3e0b24.tar.gz
gitea-f3aab5dbe30f8e6a1032b524315f7fd37c3e0b24.zip
Add full name field to admin's user edit page (fixes #1130)
Diffstat (limited to 'modules')
-rw-r--r--modules/auth/admin.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/auth/admin.go b/modules/auth/admin.go
index e6cc82cd34..a95b83de6a 100644
--- a/modules/auth/admin.go
+++ b/modules/auth/admin.go
@@ -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)"`