0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-09 19:42:09 +01:00
gitea/routers/api/v1/user
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
..
action.go
app.go
avatar.go
email.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
follower.go
gpg_key.go Move more functions to db.Find (#28419) 2024-01-15 02:19:25 +00:00
helper.go
hook.go
key.go
repo.go
runners.go Add get actions runner registration token for API routes, repo, org, user and global level (#27144) 2023-12-27 07:57:54 +00:00
settings.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
star.go
user.go
watch.go