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/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.
1 year ago
..
actions.go Return `responseText` instead of string in some functions (#28836) 1 year ago
admin.go Simplify how git repositories are opened (#28937) 1 year ago
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) 1 year ago
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) 1 year ago
doctor_convert.go Recommend/convert to use case-sensitive collation for MySQL/MSSQL (#28662) 1 year ago
doctor_test.go Move doctor package from modules to services (#28856) 1 year ago
dump.go
dump_repo.go
embedded.go
generate.go
hook.go Improve ObjectFormat interface (#28496) 1 year ago
hook_test.go
keys.go Return `responseText` instead of string in some functions (#28836) 1 year ago
mailer.go Return `responseText` instead of string in some functions (#28836) 1 year ago
main.go
main_test.go
manager.go
manager_logging.go
migrate.go
migrate_storage.go Fix migrate storage bug (#28830) 1 year ago
migrate_storage_test.go
restore_repo.go
serv.go
web.go
web_acme.go
web_graceful.go
web_https.go