summaryrefslogtreecommitdiffstats
path: root/routers
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 /routers
parent2c4fb6e6469f756dfaeb276302bac87e4dac3e1e (diff)
downloadgitea-f3aab5dbe30f8e6a1032b524315f7fd37c3e0b24.tar.gz
gitea-f3aab5dbe30f8e6a1032b524315f7fd37c3e0b24.zip
Add full name field to admin's user edit page (fixes #1130)
Diffstat (limited to 'routers')
-rw-r--r--routers/admin/users.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/admin/users.go b/routers/admin/users.go
index ddcca6390e..12c52236f9 100644
--- a/routers/admin/users.go
+++ b/routers/admin/users.go
@@ -185,6 +185,7 @@ func EditUserPost(ctx *middleware.Context, form auth.AdminEditUserForm) {
u.EncodePasswd()
}
+ u.FullName = form.FullName
u.Email = form.Email
u.Website = form.Website
u.Location = form.Location