gitea/models
KN4CK3R f8b471ace1
Unify user update methods (#28733)
Fixes #28660
Fixes an admin api bug related to `user.LoginSource`
Fixed `/user/emails` response not identical to GitHub api

This PR unifies the user update methods. The goal is to keep the logic
only at one place (having audit logs in mind). For example, do the
password checks only in one method not everywhere a password is updated.

After that PR is merged, the user creation should be next.
2024-02-04 13:29:09 +00:00
..
actions
activities
admin
asymkey
auth
avatars
db
dbfs
fixtures Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
git
issues
migrations Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
organization
packages
perm
project
pull
repo
secret
shared/types
system
unit
unittest
user Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go
repo_transfer_test.go