mirror of
https://github.com/unisonweb/unison.git
synced 2024-10-04 21:57:25 +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
|
||||
{ hash :: Hash32,
|
||||
userId :: Text
|
||||
userId :: Maybe Text
|
||||
}
|
||||
deriving stock (Show, Eq, Ord)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user