aboutsummaryrefslogtreecommitdiffstats
path: root/modules
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 /modules
parentba2f6a45c8ef44f74772456fc98c27faca058241 (diff)
downloadgitea-d1c982cb731a0744e2a8e0863b46ff9e99c99b63.tar.gz
gitea-d1c982cb731a0744e2a8e0863b46ff9e99c99b63.zip
Add bio field for user (#6113)
Fix #4339
Diffstat (limited to 'modules')
-rw-r--r--modules/auth/user_form.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/auth/user_form.go b/modules/auth/user_form.go
index be0f9bf1bf..78dd75fa1d 100644
--- a/modules/auth/user_form.go
+++ b/modules/auth/user_form.go
@@ -201,6 +201,7 @@ type UpdateProfileForm struct {
Website string `binding:"ValidUrl;MaxSize(255)"`
Location string `binding:"MaxSize(50)"`
Language string `binding:"Size(5)"`
+ Description string `binding:"MaxSize(255)"`
}
// Validate validates the fields