0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-29 10:34:24 +01:00
gitea/services/mailer
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
..
incoming
token
mail.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
mail_comment.go
mail_issue.go Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
mail_release.go Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
mail_repo.go Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
mail_team_invite.go Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
mail_test.go Include username in email headers (#28981) 2024-02-03 00:41:27 +00:00
mailer.go Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
mailer_test.go
main_test.go
notify.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00