diff --git a/apps/extension/src/routes/popup/settings/settings.tsx b/apps/extension/src/routes/popup/settings/settings.tsx index a2c56f47..039d2412 100644 --- a/apps/extension/src/routes/popup/settings/settings.tsx +++ b/apps/extension/src/routes/popup/settings/settings.tsx @@ -71,7 +71,11 @@ export const Settings = () => { icon={} onClick={() => { clearSessionPassword(); - navigate(PopupPath.LOGIN); + // Normally we could do: navigate(PopupPath.LOGIN) + // However, for security reasons, we are reloading the window to guarantee + // the password does not remain in memory. Auditors have not trusted that even though + // it's cleared in Zustand that it could still be extracted somehow. + chrome.runtime.reload(); }} />