HomePhabricator
Diffusion Comm 63edbf4aa371

[native][web] Clear user specific data on identity actions

Description

[native][web] Clear user specific data on identity actions

Summary:
issue: ENG-6424
Login will be handled once it's implemented. It's being tracked in ENG-6598. In this diff I want to handle logout, delete account and register identity actions
I will remove logic from specific reducers in next diffs
I had to change the dafault state on web - I need the navInfo to be correct. This is how we do it on native. I don't think it's the best, but at least the data is of correct shape, and again - this is how we do it on native, so I think we can use this for now

Test Plan: Tested that it is possible to log out and back in, and no errors show up. Tested that the data is cleared on logout success

Reviewers: michal, kamil, ginsu

Reviewed By: michal

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D10860

Details

Provenance
inkaAuthored on Jan 29 2024, 3:28 AM
Reviewer
michal
Differential Revision
D10860: [native][web] Clear user specific data on identity actions
Parents
rCOMM0e7d3303b747: [web][native] Create lists of fields that are not to be removed on identity…
Branches
Unknown
Tags
Unknown