Yes, implementing capabilities.setCapability(“noReset”, true);
should remove the logged in user data.
I’m leaving the link below just in case, for future reference about noReset
and fullReset
capabilities and their differences in practice
Hope it helps