summaryrefslogtreecommitdiffstats
path: root/services/forms/user_form.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/forms/user_form.go')
-rw-r--r--services/forms/user_form.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/forms/user_form.go b/services/forms/user_form.go
index 903a625da0..439ddfc7c6 100644
--- a/services/forms/user_form.go
+++ b/services/forms/user_form.go
@@ -12,6 +12,7 @@ import (
"code.gitea.io/gitea/modules/context"
"code.gitea.io/gitea/modules/setting"
+ "code.gitea.io/gitea/modules/structs"
"code.gitea.io/gitea/modules/web/middleware"
"gitea.com/go-chi/binding"
@@ -230,6 +231,7 @@ type UpdateProfileForm struct {
Location string `binding:"MaxSize(50)"`
Language string
Description string `binding:"MaxSize(255)"`
+ Visibility structs.VisibleType
KeepActivityPrivate bool
}