limit the session key as per the the definition comment 'The ID of a session. Always 18 bytes base64url-encoded as 24 characters.' using 30 characters to be conservative
This commit is contained in:
parent
c2c1718f11
commit
37590b9e3e
@ -150,7 +150,7 @@ instance forall sess. P.PersistFieldSql (Decomposed sess) => P.PersistEntity (Pe
|
||||
(P.DBName "key")
|
||||
(P.FTTypeCon Nothing "SessionId sess")
|
||||
(P.sqlType (Proxy :: Proxy (SessionId sess)))
|
||||
[]
|
||||
["maxlen=30"]
|
||||
True
|
||||
P.NoReference
|
||||
persistFieldDef PersistentSessionAuthId
|
||||
|
||||
Loading…
Reference in New Issue
Block a user