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.DBName "key")
|
||||||
(P.FTTypeCon Nothing "SessionId sess")
|
(P.FTTypeCon Nothing "SessionId sess")
|
||||||
(P.sqlType (Proxy :: Proxy (SessionId sess)))
|
(P.sqlType (Proxy :: Proxy (SessionId sess)))
|
||||||
[]
|
["maxlen=30"]
|
||||||
True
|
True
|
||||||
P.NoReference
|
P.NoReference
|
||||||
persistFieldDef PersistentSessionAuthId
|
persistFieldDef PersistentSessionAuthId
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user