forgejo/modules/auth/password
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
..
hash Fix various bugs for "install" page (#23194) 2023-03-04 10:12:02 +08:00
pwn Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
password.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
password_test.go Provide the ability to set password hash algorithm parameters (#22942) 2023-02-19 15:35:20 +08:00
pwn.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00