0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-14 20:34:07 +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 Refactor AppURL usage (#30885) 2024-05-07 08:26:13 +00:00
badge.go
block.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
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 Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
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 Replace deprecated math/rand functions (#30733) 2024-04-27 18:50:35 +02:00
user_update.go
user.go Refactor sha1 and time-limited code (#31023) 2024-05-20 15:12:50 +00:00