summaryrefslogtreecommitdiffstats
path: root/modules/auth/user_form.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/auth/user_form.go')
-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 d913822a8d..956ebd944b 100644
--- a/modules/auth/user_form.go
+++ b/modules/auth/user_form.go
@@ -109,6 +109,7 @@ type UpdateProfileForm struct {
KeepEmailPrivate bool
Website string `binding:"ValidUrl;MaxSize(255)"`
Location string `binding:"MaxSize(50)"`
+ Language string `binding:"Size(5)"`
}
// Validate validates the fields