do not base64decode payload

This commit is contained in:
nek0 2022-04-17 13:50:50 +02:00
parent f21895dbd4
commit 818ee7421c

View file

@ -180,7 +180,7 @@ putUserAuthInfo uid method comment payload conn =
, toFields uid , toFields uid
, toFields (fromEnum method) , toFields (fromEnum method)
, toFields comment , toFields comment
, toFields (either error id $ B64.decode $ encodeUtf8 payload) , toFields (encodeUtf8 payload)
) )
] ]
, iReturning = rReturning (\(adid, _, _, _, _) -> adid) , iReturning = rReturning (\(adid, _, _, _, _) -> adid)