]> source.dussan.org Git - nextcloud-server.git/commit
Filter out sensitive fields in user:auth-tokens
authorLucas Azevedo <lhs_azevedo@hotmail.com>
Thu, 24 Aug 2023 14:19:50 +0000 (11:19 -0300)
committerLucas Azevedo <lhs_azevedo@hotmail.com>
Thu, 24 Aug 2023 14:20:35 +0000 (11:20 -0300)
commitca101b2dbef60bd9a56d5832fdee29e147e80519
treee34b568ae00cb331e6f71ffdf8d88d26ee2cb34f
parent7d05d1f604ad10b6bd2065299a983f7b2c514cd6
Filter out sensitive fields in user:auth-tokens

PublicKeyToken::jsonSerialize() already explicitly lists allowed fields,
we are adding a second guard here to be on the safe side.

Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
core/Command/User/AuthTokens.php