revoke된 세션 처리 추가
This commit is contained in:
@ -74,10 +74,6 @@ func make_storagekey(acc primitive.ObjectID) storagekey {
|
||||
return storagekey(acc.Hex() + hex.EncodeToString(bs[2:]))
|
||||
}
|
||||
|
||||
func AccountToSessionKey(acc primitive.ObjectID) string {
|
||||
return string(make_storagekey(acc))
|
||||
}
|
||||
|
||||
func storagekey_to_publickey(sk storagekey) publickey {
|
||||
bs, _ := hex.DecodeString(string(sk))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user