Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: [ENG-8195](https://linear.app/comm/issue/ENG-8195/implement-new-log-in-for-usernamepassword-users). Implementing a hook for user restore, similar to the password/wallet user login. Depends on D14082 Test Plan: 1. Use this hook in `LogInPanel` instead of `usePasswordLogIn`. 2. Add a bunch of logs. 3. Register a new Account and add a different user as a friend. 4. Log out using v2. 5. Log in (which executed restore). 6. Look at logs - all steps passed. 7. The user is visually logged in, and everything works. 8. On other user observer logs, the device list is updated, but it's not passing validation (which is expected because of D14079). After D14079 is deployed, validation should pass. EDIT: Tested after Identity deploy, it works! {F3419152} Reviewers: bartek, tomek, varun Reviewed By: tomek Subscribers: ashoat Differential Revision: https://phab.comm.dev/D14083
- Loading branch information