Merge pull request #1244 from jamesa/develop

Add full name field to admin's user edit page (fixes #1130)
This commit is contained in:
无闻 2015-07-25 00:39:16 +08:00
commit 91ab2538c3
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