fix(security): remove unconfirmed_email from /whoami for apps

This commit is contained in:
KernelDeimos 2024-08-20 18:33:12 -04:00
parent b737570f73
commit a002ad08e5

View File

@ -73,6 +73,7 @@ const WHOAMI_GET = eggspress('/whoami', {
// delete details.username; // delete details.username;
// delete details.uuid; // delete details.uuid;
delete details.email; delete details.email;
delete details.unconfirmed_email;
delete details.desktop_bg_url; delete details.desktop_bg_url;
delete details.desktop_bg_color; delete details.desktop_bg_color;
delete details.desktop_bg_fit; delete details.desktop_bg_fit;