0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-19 10:45:22 +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
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 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