0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-13 16:29:10 +01:00
gitea/models/user
wxiaoguang fb1ad920b7
Refactor sha1 and time-limited code (#31023)
Remove "EncodeSha1", it shouldn't be used as a general purpose hasher
(just like we have removed "EncodeMD5" in #28622)

Rewrite the "time-limited code" related code and write better tests, the
old code doesn't seem quite right.
2024-05-20 15:12:50 +00:00
..
avatar.go
badge.go
block.go
email_address_test.go
email_address.go Refactor sha1 and time-limited code (#31023) 2024-05-20 15:12:50 +00:00
error.go
external_login_user.go
follow_test.go
follow.go
list.go
main_test.go
must_change_password.go
openid_test.go
openid.go
redirect_test.go
redirect.go
search.go
setting_keys.go
setting_test.go
setting.go
user_system.go
user_test.go
user_update.go
user.go Refactor sha1 and time-limited code (#31023) 2024-05-20 15:12:50 +00:00