summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authortechknowlogick <matti@mdranta.net>2019-03-18 22:28:10 -0400
committerGitHub <noreply@github.com>2019-03-18 22:28:10 -0400
commitd1c982cb731a0744e2a8e0863b46ff9e99c99b63 (patch)
treefd6dc3e432f90e3cc4a5e132ef97f94633ce3149 /routers
parentba2f6a45c8ef44f74772456fc98c27faca058241 (diff)
downloadgitea-d1c982cb731a0744e2a8e0863b46ff9e99c99b63.tar.gz
gitea-d1c982cb731a0744e2a8e0863b46ff9e99c99b63.zip
Add bio field for user (#6113)
Fix #4339
Diffstat (limited to 'routers')
-rw-r--r--routers/user/setting/profile.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/user/setting/profile.go b/routers/user/setting/profile.go
index 09073498f8..96210b79f8 100644
--- a/routers/user/setting/profile.go
+++ b/routers/user/setting/profile.go
@@ -92,6 +92,7 @@ func ProfilePost(ctx *context.Context, form auth.UpdateProfileForm) {
ctx.User.Website = form.Website
ctx.User.Location = form.Location
ctx.User.Language = form.Language
+ ctx.User.Description = form.Description
if err := models.UpdateUserSetting(ctx.User); err != nil {
if _, ok := err.(models.ErrEmailAlreadyUsed); ok {
ctx.Flash.Error(ctx.Tr("form.email_been_used"))