]> source.dussan.org Git - gitea.git/commit
Only validate changed columns when update user (#24867) (#24903)
authorGiteabot <teabot@gitea.io>
Wed, 24 May 2023 08:24:02 +0000 (04:24 -0400)
committerGitHub <noreply@github.com>
Wed, 24 May 2023 08:24:02 +0000 (04:24 -0400)
commit275abd65935216c05aa2d1238d8d8a7cfc739a35
treed6894317d7e3baadf2cde389e8a14c806ecf56bb
parentd19d5bc5b89ef2e46fc3b8f6c55551ce935d05bc
Only validate changed columns when update user (#24867) (#24903)

Backport #24867 by @lunny

Fix #23211
Replace #23496

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
models/user/user.go
models/user/user_test.go