0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-03 10:05:23 +01:00
gitea/cmd
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.go Return responseText instead of string in some functions (#28836) 2024-01-19 10:45:23 +08:00
admin.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
admin_auth.go
admin_auth_ldap.go
admin_auth_ldap_test.go
admin_auth_oauth.go
admin_auth_stmp.go
admin_regenerate.go
admin_user.go
admin_user_change_password.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
admin_user_create.go
admin_user_delete.go
admin_user_generate_access_token.go
admin_user_list.go
admin_user_must_change_password.go
cert.go
cmd.go
docs.go
doctor.go Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
doctor_convert.go Recommend/convert to use case-sensitive collation for MySQL/MSSQL (#28662) 2024-01-10 11:03:23 +00:00
doctor_test.go Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
dump.go
dump_repo.go
embedded.go
generate.go
hook.go Improve ObjectFormat interface (#28496) 2023-12-19 07:20:47 +00:00
hook_test.go
keys.go Return responseText instead of string in some functions (#28836) 2024-01-19 10:45:23 +08:00
mailer.go Return responseText instead of string in some functions (#28836) 2024-01-19 10:45:23 +08:00
main.go
main_test.go
manager.go
manager_logging.go
migrate.go
migrate_storage.go Fix migrate storage bug (#28830) 2024-01-20 23:27:31 +08:00
migrate_storage_test.go
restore_repo.go
serv.go
web.go
web_acme.go
web_graceful.go
web_https.go