1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Add full name field to admin's user edit page (fixes #1130)

This commit is contained in:
James
2015-04-28 11:59:05 -04:00
parent 2c4fb6e646
commit f3aab5dbe3
3 changed files with 6 additions and 0 deletions

View File

@@ -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