diff options
author | James <james@jamesanderson.me> | 2015-04-28 11:59:05 -0400 |
---|---|---|
committer | James <james@jamesanderson.me> | 2015-04-28 11:59:05 -0400 |
commit | f3aab5dbe30f8e6a1032b524315f7fd37c3e0b24 (patch) | |
tree | e4b5b8f196b97203dfccf663b310cd43d7e8eadb /modules | |
parent | 2c4fb6e6469f756dfaeb276302bac87e4dac3e1e (diff) | |
download | gitea-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.go | 1 |
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)"` |