Adjust obfuscation of viewing key

This commit is contained in:
Rene Vergara 2023-05-13 08:16:00 -05:00
parent e0f631fd03
commit 6122a2d423
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -366,7 +366,7 @@ instance ToJSON OwnerSettings where
, "expiration" .= e
, "payconf" .= pc
, "crmToken" .= cT
, "viewkey" .= (T.take 5 vK <> "...." <> T.takeEnd 5 vK)
, "viewkey" .= (T.take 8 vK <> "...." <> T.takeEnd 8 vK)
]
-- Helper Functions