⏪ Revert to use cached userinfo for security reason
This commit is contained in:
@@ -5,7 +5,8 @@ import "fmt"
|
||||
// Those constants are used to directly get the cached data from redis
|
||||
// Formatted like {prefix}#{key}
|
||||
const (
|
||||
DAUserInfoPrefix = "userinfo"
|
||||
DAAttachment = "attachment"
|
||||
DAUser = "account"
|
||||
)
|
||||
|
||||
func FKey(prefix string, key any) string {
|
||||
|
Reference in New Issue
Block a user