diff options
author | 6543 <6543@obermui.de> | 2020-12-04 07:20:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-04 08:20:30 +0200 |
commit | 48a3bb7a32bb4e7e5a31cfeb4ca324621c417527 (patch) | |
tree | 8cab01bb2a7b48c323c11ddcd574f67283a0468c /modules/auth | |
parent | 3512c7e40f0b06f9f495a919e0d4925e5688e2da (diff) | |
download | gitea-48a3bb7a32bb4e7e5a31cfeb4ca324621c417527.tar.gz gitea-48a3bb7a32bb4e7e5a31cfeb4ca324621c417527.zip |
User Settings: Ignore empty language codes & validate (#13755)
Diffstat (limited to 'modules/auth')
-rw-r--r-- | modules/auth/user_form.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/user_form.go b/modules/auth/user_form.go index 32fde1570e..c0aafec9e4 100644 --- a/modules/auth/user_form.go +++ b/modules/auth/user_form.go @@ -202,7 +202,7 @@ type UpdateProfileForm struct { KeepEmailPrivate bool Website string `binding:"ValidUrl;MaxSize(255)"` Location string `binding:"MaxSize(50)"` - Language string `binding:"Size(5)"` + Language string Description string `binding:"MaxSize(255)"` KeepActivityPrivate bool } |