1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-09 19:54:25 +00:00
gitea/services/auth/source
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
..
db Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
ldap Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
oauth2 Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
pam Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
smtp Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
sspi Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
source_group_sync.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00