Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 16b9ce1

Browse files
authored
clear session storage of financial form on logout (#6668)
1 parent 2e513fa commit 16b9ce1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/javascript/app/base/client.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ const Client = (() => {
123123
// clear elev.io session storage
124124
sessionStorage.removeItem('_elevaddon-6app');
125125
sessionStorage.removeItem('_elevaddon-6create');
126+
// clear session storage related to #financial-form
127+
sessionStorage.removeItem('client_form_response');
128+
sessionStorage.removeItem('is_risk_disclaimer');
126129
// clear trading session
127130
Defaults.remove('underlying', 'market');
128131
ClientBase.clearAllAccounts();

0 commit comments

Comments
 (0)