You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web/user/setting
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.
1 year ago
..
security Use db.Find instead of writing methods for every object (#28084) 1 year ago
account.go Unify user update methods (#28733) 1 year ago
account_test.go
adopt.go Move createrepository from module to service layer (#26927) 1 year ago
applications.go Fix inconsistent naming of OAuth 2.0 `ENABLE` setting (#28951) 1 year ago
keys.go Move more functions to db.Find (#28419) 1 year ago
main_test.go make writing main test easier (#27270) 1 year ago
oauth2.go
oauth2_common.go Final round of `db.DefaultContext` refactor (#27587) 1 year ago
packages.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
profile.go Unify user update methods (#28733) 1 year ago
runner.go
webhooks.go Use db.Find instead of writing methods for every object (#28084) 1 year ago