mirror of
https://github.com/unisonweb/unison.git
synced 2024-10-05 06:07:21 +03:00
Make user id optional on hash-jwts to accomodate unauthenticated public downloads. (#3141)
This commit is contained in:
parent
021b9965f6
commit
f898cd6ecb
@ -152,7 +152,7 @@ hashJWTHash =
|
|||||||
|
|
||||||
data HashJWTClaims = HashJWTClaims
|
data HashJWTClaims = HashJWTClaims
|
||||||
{ hash :: Hash32,
|
{ hash :: Hash32,
|
||||||
userId :: Text
|
userId :: Maybe Text
|
||||||
}
|
}
|
||||||
deriving stock (Show, Eq, Ord)
|
deriving stock (Show, Eq, Ord)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user