forgejo-federation/routers/web/auth
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
..
2fa.go Enhanced auth token / remember me (#27606) 2023-10-14 00:56:41 +00:00
auth.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
linkaccount.go Normalize oauth email username (#28561) 2024-01-03 18:48:20 -06:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
oauth.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
oauth_test.go Bump github.com/golang-jwt/jwt to v5 (#25975) 2023-07-19 09:57:10 +00:00
openid.go Enhanced auth token / remember me (#27606) 2023-10-14 00:56:41 +00:00
password.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
webauthn.go Enhanced auth token / remember me (#27606) 2023-10-14 00:56:41 +00:00